Build and run tests for the local package.
Section: Tests and benches
Run the test suite
bash
bash
cargo testExplanation
The default workflow for unit tests, integration tests, and doctests.
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 Tests and benches