Section: Test debugging workflows

Run one exact test

bash
bash
cargo test parse_args_handles_help -- --exact
Explanation

Useful when multiple test names share the same substring.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Test debugging workflows
Run all tests
Build and run the full test suite.
OpenIn sheetbashsame section
Run a subset of tests
Filter tests by name substring.
OpenIn sheetbashsame section
Show test output
Print stdout/stderr from tests.
OpenIn sheetbashsame section
Run tests serially
Use one test thread to reduce races.
OpenIn sheetbashsame section
Test one workspace package
Limit the run to a selected member.
OpenIn sheetbashsame section
Run doctests only
Focus on failures in documentation examples.
OpenIn sheetbash2 tag match