cargo-testdox 0.4.0

A Cargo subcommand to print your test names as sentences.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use assert_cmd::Command;
use predicates::prelude::*;

#[test]
fn passing_include_ignored_flag_runs_ignored_tests() {
    Command::cargo_bin("cargo-testdox")
        .unwrap()
        .current_dir("testdata/testproj")
        .arg("testdox")
        .arg("--")
        .arg("--include-ignored")
        .assert()
        .success()
        .stdout(predicate::eq("✔ ignored test\n"));
}