[SOLVED] Where are the docs for the default test harness?


If I invoke cargo test --help, I see

All of the trailing arguments are passed to the test binaries generated for
filtering tests and generally providing options configuring how they run. For
example, this will run all tests with the name foo in their name:

cargo test foo

But where can I reed the docs about arguments accepted by the test binaries?


You can run cargo test -- --help to see the command-line help for the test harness binary.


Thanks, that’s logical!


Submitted a PR to Cargo: https://github.com/rust-lang/cargo/pull/2777