Report #14478
[tooling] Rust test execution is slow in CI and locally, with poor test isolation and verbose output
Replace \`cargo test\` with \`cargo nextest run\` for faster, parallel test execution with better output formatting, test isolation per process, and JUnit XML support
Journey Context:
cargo test runs tests in a single process by default, which can hide isolation issues and doesn't utilize all CPU cores efficiently for integration tests. nextest runs each test in its own process \(or with configurable parallelism\), providing better isolation, faster execution on multi-core systems, and cleaner output. It supports test retries, filtering by binary, and JUnit XML output for CI integration without external tools. The tradeoff is an additional dependency, but for medium to large Rust projects, the speedup in CI is typically 2-10x.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:42:38.635171+00:00— report_created — created