Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions crates/libtest-lexarg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,19 @@ pub const UNSTABLE_OPTIONS: &str = "unstable-options";

pub const OPTIONS_HELP: &str = r#"
Options:
--include-ignored
Run ignored and not ignored tests
--ignored Run only ignored tests
--skip FILTER Skip tests whose names contain FILTER (this flag can
be used multiple times)
--exact Exactly match filters rather than by substring
--test Run tests and not benchmarks
--bench Run benchmarks instead of tests
--list List all tests and benchmarks
--nocapture don't capture stdout/stderr of each task, allow
--ignored Run only ignored tests
--include-ignored
Run ignored and not ignored tests
--no-capture don't capture stdout/stderr of each task, allow
printing directly
--show-output Show captured stdout of successful tests
--test-threads n_threads
Number of threads used for running tests in parallel
--skip FILTER Skip tests whose names contain FILTER (this flag can
be used multiple times)
-q, --quiet Display one character per test instead of one line.
Alias to --format=terse
--exact Exactly match filters rather than by substring
--color auto|always|never
Configure coloring of output:
auto = colorize if stdout is a tty and tests are run
Expand All @@ -126,7 +124,9 @@ Options:
pretty = Print verbose output;
terse = Display one character per test;
json = Output a json document;
--show-output Show captured stdout of successful tests
--list List all tests and benchmarks
-q, --quiet Display one character per test instead of one line.
Alias to --format=terse
-Z unstable-options Enable nightly-only flags:
unstable-options = Allow use of experimental features
"#;
Expand All @@ -141,7 +141,7 @@ By default, all tests are run in parallel. This can be altered with the
tests (set it to 1).

All tests have their standard output and standard error captured by default.
This can be overridden with the --nocapture flag to a value other than "0".
This can be overridden with the --no-capture flag to a value other than "0".
Logging is not captured by default.

Test Attributes:
Expand Down Expand Up @@ -199,7 +199,7 @@ impl TestOptsBuilder {
Long("list") => {
self.opts.list = true;
}
Long("nocapture") => {
Long("no-capture") => {
self.opts.nocapture = true;
}
Long("test-threads") => {
Expand Down
Loading