Welcome to the GitHub organization for cargo-nextest, a next-generation test runner for Rust. Nextest is up to 3x as fast as cargo test
, and has many features to address real-world problems with running Rust tests at scale.
Nextest is flexible to meet your needs: you can use as many or as few of its features as you like. It is used by organizations of all sizes, from individual developers to the largest corporations.
For more information, see the nextest site.
This organization contains several repositories. The ones most likely of interest to external consumers are:
-
nextest-rs/nextest: The main nextest repository.
-
nextest-rs/datatest-stable: A library that takes a set of files on disk and turns each of them into a separate test case.
This library works with nextest, and also serves as an example for how to write custom test harnesses.
-
nextest-rs/future-queue: A library that permits futures to be run with a specific amount of overall concurrency. This is a generalization of
StreamExt::buffer_unordered
, with several additional features.This library is used to implement two of nextest's features: assigning some tests a different weight, and creating groups of tests with more limited concurrency.
The primary maintainer of nextest is Rain (@sunshowers). If nextest has been useful to you or your organization, please consider a sponsorship.