← Package directory
Available on winget

Install cargo-nextest

A next-generation test runner for Rust.

Install with winget
winget install --id nextest.cargo-nextest
Upgrade
winget upgrade --id nextest.cargo-nextest
Uninstall
winget uninstall --id nextest.cargo-nextest

About cargo-nextest

A next-generation test runner for Rust.

What's new in 0.9.136

Added - Following up from the recently-added schema for repository configuration, nextest now also provides a JSON Schema for user configuration. The schema for the running version can be obtained by running cargo nextest self schema user-config. (#3351) Changed - The max-progress-running user-config setting no longer accepts numeric strings like "8" (an undocumented fallback). The supported values remain a non-negative integer (e.g. 8) or "infinite". (#3350)

Read release notes

Version history

Version Updated Notes
0.9.136 Unknown Added - Following up from the recently-added schema for repository configuration, nextest now also provides a JSON Schema for user configuration. The schema for the running version can be obtained by running cargo nextes...
0.9.135 Unknown Fixed an issue with a from-crates.io build.
0.9.133 Unknown Added - Nextest now supports a group() filterset predicate for CLI filter expressions, allowing tests to be listed or run by their assigned test group. (#3273) For example, to run all tests in a specific group: cargo nex...
0.9.132 Unknown Update aws-lc-sys to 0.39.0 to address GHSA-394x-vwmw-crm3.
0.9.131 Unknown Added - Setup scripts and wrapper scripts can now specify per-command environment variables via the env field in the command configuration. (#3001) For example: [scripts.setup.script1] command = { command-line = "cargo r...
0.9.130 Unknown Added - Nextest now sets several new environment variables for tests and setup scripts: (#3103) - NEXTEST_VERSION: the current nextest version as a semver string. - NEXTEST_REQUIRED_VERSION and NEXTEST_RECOMMENDED_VERSIO...
0.9.129 Unknown Changed - --show-progress=only now behaves like the default auto in non-interactive mode, showing successful tests with a counter. This change was made because only is primarily intended for interactive scenarios. (#3087...
0.9.128 Unknown Fixed Updated the zip crate to 8.0.0 since versions 7.3.0 and 7.4.0 were yanked.
0.9.121 Unknown Fixed - In custom target JSONs, panic-strategy = "immediate-abort" now parses correctly (#2922).
0.9.120 Unknown Added - Support for using a pager like less with nextest's output. Currently supported are: - cargo nextest list - cargo nextest show-config test-groups - -h and --help commands The pager support is closely modeled after...
0.9.115 Unknown Added - Nextest profiles now support inheritance via the inherits key. For example: [profile.ci] retries = 2 [profile.ci-extended] inherits = "ci" slow-timeout = "120s" Thanks asder8215 for your first contribution! (#278...
0.9.114 Unknown Added - A new config option --tracer enables running a test under a system call tracer like strace or truss. This mode is similar to --debugger added in version 0.9.113, but is optimized for non-interactive sessions. See...
0.9.113 Unknown Added - Nextest now supports running tests under a debugger. Use --debugger to run a single test under gdb, lldb, WinDbg, CodeLLDB in Visual Studio Code, and other debuggers, while preserving all the environment setup do...
0.9.111 Unknown Added - Nextest now supports immediately terminating currently-running tests on failure. Set fail-fast = { max-fail = 1, terminate = "immediate" } in your configuration, or use --max-fail=1:immediate, to terminate runnin...
0.9.110 Unknown Added - OSC 9;4 in-terminal progress bars are automatically enabled when the Ghostty terminal is detected. Thanks adamchalmers and RGBCube for your first contribution! Fixed - With --show-progress=running, the global pro...
0.9.109 Unknown Added - A new running progress mode that shows currently running tests in addition to the progress bar. Use --show-progress=running to see both running tests and information about successful tests, or --show-progress=onl...
0.9.108 Unknown Added - Support for USDT (User-level Statically Defined Tracing) probes for observability and debugging. USDT probes allow tools like DTrace and bpftrace to trace nextest's internal operations. The initial probes cover t...
0.9.106 Unknown Fixed - For custom targets, updated the deserializer to handle target-pointer-width becoming an integer in the newest Rust nightlies. Changed - Update builtin list of targets to Rust 1.90.
0.9.105 Unknown Changed On Windows, job objects are now created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. This enables test processes to have their children be assigned a different job object, which is particularly relevant on Windows 7 since...
0.9.104 Unknown Added - For stress tests, summary lines now indicate the number of iterations passed and/or failed. Changed - Always forward --config arguments to Cargo invocations. Thanks to benschulz for your first contribution! - Int...