Force one test thread.
Section: Tests and benches
Run tests serially
bash
bash
cargo test -- --test-threads=1Explanation
Helps when tests share global state or external ports.
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