[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.

1 Like

Thanks, that's logical!

Submitted a PR to Cargo: Explain how to get help for the test harness by matklad · Pull Request #2777 · rust-lang/cargo · GitHub

1 Like