# cargo-nextest

> A next-generation test runner for Rust.

Source: https://talira.ai/catalog/cargo-nextest-kbkdtjbc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / testing / test runners](https://talira.ai/categories/developer-tools/testing/test-runners), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: linux, macos, windows, cli
- Licence: Apache-2.0 OR MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes

cargo-nextest is a replacement for cargo test, up to 3x faster per its site, that runs each test in its own process and schedules tests across binaries in parallel. It adds filtersets for choosing tests, retries for flaky tests, test partitioning across CI machines, archiving test builds to run elsewhere, and JUnit output.

## Links

- Website: https://nexte.st
- GitHub: https://github.com/nextest-rs/nextest
- Docs: https://nexte.st/docs

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/cargo-nextest>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/cargo-nextest>[^2]

## Problems it solves

- cargo test is slow on our big Rust workspace
- one slow test binary blocks all the others from running
- retry flaky Rust tests automatically in CI
- split Rust tests across several CI machines
- a test that leaks global state breaks other tests in the same process
- find which tests are slow or hang
- JUnit XML output from Rust tests for our CI dashboard
- build tests once and run them on a different machine
- pick tests to run with a filter expression instead of name substrings

## Features

- process-per-test
- parallel across binaries
- filtersets
- retries
- slow and leaky test detection
- partitioning
- test archives
- JUnit output
- stress testing
- setup scripts
- record/replay/rerun

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 1.00, adoption 0.71, momentum 0.54, community 0.82, backing 0.00, extensibility 0.20.

- last commit 9 days ago
- 197 commits in the last 90 days
- latest release cargo-nextest-0.9.152 10 days ago
- 3.4k GitHub stars
- 109 contributors
- accepts sponsorship (Github)

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
