Releases: nextest-rs/nextest
nextest-runner 0.67.0
See the changelog for cargo-nextest 0.9.84.
nextest-runner 0.66.0
See the changelog for cargo-nextest 0.9.83.
cargo-nextest 0.9.84
Fixed
- Fixed a rare crash during test run cancellation (#1876).
cargo-nextest 0.9.83
Added
-
Per-platform default filters are now supported via overrides. For example, to
skip over tests with the substringunix_tests
by default on Windows, add
this to.config/nextest.toml
:[[profile.default.overrides]] platform = "cfg(windows)" default-filter = "not test(unix_tests)"
-
cargo nextest run --build-jobs
now accepts negative numbers as arguments,
similar to other commands likecargo nextest run --test-threads
andcargo build
. Negative numbers mean "use all available cores except for this many".Thanks to mattsse for your first contribution!
Internal improvements
- Internal targets updated to Rust 1.82.
- Runner logic refactored to handle upcoming features.
nextest-runner 0.65.0
See the changelog for cargo-nextest 0.9.82.
cargo-nextest 0.9.82
Added
-
For crates with a build script, nextest now reads their output and sets environment variables from
within them for tests. This matchescargo test
's behavior. However, note that this usage is
discouraged by Cargo.Thanks to chrjabs for your first contribution!
-
On Unix platforms, nextest now also intercepts the
SIGQUIT
signal, in addition to the existing
SIGINT
,SIGTERM
, etc. More signals will be added to this list as makes sense.
Internal improvements
- Switch internal logging over to the fantastic
tracing
library. Nextest doesn't do much
structured logging or event/span logging yet, but tracing provides a great foundation to add that
in the future. - Internal dependency updates.
nextest-runner 0.64.0
See the changelog for cargo-nextest 0.9.81.
cargo-nextest 0.9.81
Fixed
Fixed semantics of --exact
to match Rust's libtest: --exact
now makes it so that all filters passed in after --
(including --skip
filters) are matched exactly.
nextest-runner 0.63.0
See the changelog for cargo-nextest 0.9.80.
cargo-nextest 0.9.80
Added
Support for --skip
and --exact
as emulated test binary arguments. The semantics match those of libtest
binaries.
For example, to run all tests other than those matching the substring slow_tests
:
cargo nextest run -- --skip slow_tests
To run all tests matching either the substring my_test
or the exact string exact_test
:
cargo nextest run -- my_test --exact exact_test
Thanks to svix-jplatte for your first contribution!