Nextest is a next-generation test runner for Rust that replaces the default Cargo test runner with a faster alternative.
The tool addresses the need for improved test execution performance and reliability in Rust projects. It works by providing a Cargo subcommand that intercepts and runs tests with optimizations for speed and better handling of flaky tests. The project is structured as a modular ecosystem: cargo-nextest serves as the main command-line interface, while nextest-runner contains the core execution logic, nextest-metadata provides programmatic access over the command line, and nextest-filtering handles test selection through filtersets.
Nextest suits any Rust project looking to reduce test execution time or gain better visibility into test behavior. It is particularly valuable for projects with large test suites or those struggling with flaky tests. The tool maintains broad compatibility, supporting Rust versions released within the past year for execution, which means it works with older codebases without requiring immediate updates.
The project maintains active development with regular updates and a welcoming contribution process that includes curated entry points for new contributors. The codebase is organized as a collection of published libraries on crates.io, allowing other tools to integrate with nextest's functionality programmatically. Documentation is comprehensive and continuously maintained across multiple formats, including a dedicated website and inline API documentation for each library component.