Skip to content

Releases: nextest-rs/nextest

nextest-runner 0.67.0

15 Nov 23:47
Compare
Choose a tag to compare

nextest-runner 0.66.0

15 Nov 22:38
Compare
Choose a tag to compare

cargo-nextest 0.9.84

15 Nov 23:49
Compare
Choose a tag to compare

Fixed

  • Fixed a rare crash during test run cancellation (#1876).

cargo-nextest 0.9.83

15 Nov 22:42
Compare
Choose a tag to compare

Added

  • Per-platform default filters are now supported via overrides. For example, to
    skip over tests with the substring unix_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 like cargo nextest run --test-threads and cargo 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

29 Oct 03:13
Compare
Choose a tag to compare

cargo-nextest 0.9.82

29 Oct 03:16
Compare
Choose a tag to compare

Added

  • For crates with a build script, nextest now reads their output and sets environment variables from
    within them for tests. This matches cargo 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

06 Oct 21:07
Compare
Choose a tag to compare

cargo-nextest 0.9.81

06 Oct 21:18
Compare
Choose a tag to compare

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

05 Oct 21:26
Compare
Choose a tag to compare

cargo-nextest 0.9.80

05 Oct 21:27
Compare
Choose a tag to compare

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!