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


#1

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?


#2

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


#3

Thanks, that’s logical!


#4

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