Skip to content

Commit

Permalink
Auto merge of #2777 - matklad:harness-help, r=alexcrichton
Browse files Browse the repository at this point in the history
Explain how to get help for the test harness

TIL that the default test harness has a non-trivial number of options. Guess it's better to share this knowledge.
  • Loading branch information
bors committed Jun 9, 2016
2 parents 26cb07b + 82eb06a commit 761ea2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bin/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ keep results readable. Test output can be recovered (e.g. for debugging)
by passing `--nocapture` to the test binaries:
cargo test -- --nocapture
To get the list of all options available for the test binaries use this:
cargo test -- --help
";

pub fn execute(options: Options, config: &Config) -> CliResult<Option<()>> {
Expand Down

0 comments on commit 761ea2d

Please sign in to comment.