Use this command to install cargo-nextest with WinGet:
winget install --id=nextest.cargo-nextest -e
Cargo-nextest is a modern tool designed to enhance Rust testing workflows. It provides faster and more reliable test execution for Rust projects, improving developer productivity and ensuring robust code quality.
Key Features:
Parallel Test Execution: Runs tests in parallel across multiple threads or processes, significantly reducing runtime for large test suites.
Efficient Reruns: Smartly reruns only failing tests, saving time during iterative development cycles.
Flaky Test Handling: Identifies and retries flaky tests to improve test reliability and reduce false negatives.
Cross-platform Compatibility: Works seamlessly on Windows, macOS, and Linux, ensuring consistent testing across environments.
Integration with CI Systems: Generates JUnit XML reports for easy integration with continuous integration pipelines.
Audience & Benefit:
Ideal for Rust developers and teams seeking to optimize their testing processes. Cargo-nextest helps users achieve faster feedback loops, reduce test flakiness, and integrate seamlessly into existing CI/CD workflows, ultimately leading to higher-quality codebases.
Installable via winget, cargo-nextest is a powerful addition to any Rust project's development toolkit.
README
Nextest
Nextest is a next-generation test runner for Rust. For more information, check out the website.
The minimum supported Rust version to run nextest with is Rust 1.41. Nextest is not tested against versions that are that old, but it should work with any version of Rust released in the past year. (Please report a bug if not!)
The minimum supported Rust version to build nextest with is Rust 1.91. For building, at least the last 3 versions of stable Rust are supported at any given time.
While a crate is pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a
crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Looking to contribute to nextest and don't know where to get started? Check out the list of good first issues.
License
Nextest is Free Software. This project is available under the terms of either the Apache 2.0 license or the MIT
license.
Like all Free Software, nextest is a gift. Nextest is provided on an "AS IS" basis and there is NO WARRANTY attached to it. As a user, please treat the authors and contributors to this project as if you were treating the giver of a gift. In particular, you're asked to follow the code of conduct.