To build and list all tests in a workspace1, cd into the workspace and run:
cargo nextest list
cargo nextest list
takes most of the same options that cargo nextest run
takes. For a full list of options accepted, see cargo nextest list --help
.
{{#include ../../help-text/list-help.txt}}
Footnotes
-
Doctests are currently not supported because of limitations in stable Rust. For now, run doctests in a separate step with
cargo test --doc
. ↩