Cargo-nextest: 3x faster than cargo test, per-test isolation, first-class CI
- Programming
- Developer Tools
- Open Source
- Infrastructure
Cargo-nextest is a Rust test runner built as a `cargo test` alternative. Its core design is process-per-test isolation, which lets it schedule tests more aggressively, contain flaky shared state, and give CI better failure handling and reporting. The pitch is not just raw speed. It is faster, but the bigger claim is that Rust testing works better when each test is treated as an isolated execution unit instead of part of one long-lived process.
If you run substantial Rust test suites in CI, nextest looks mature enough to evaluate now, but you should benchmark it against your own mix of unit, integration, and database-backed tests rather than trusting headline speedups. Watch especially for gaps around doctests, shared-state integration setups, and corporate security software on developer machines or Windows fleets.
-
nexte.st
- Discuss on HN