Skip to content

cargo-nextest 0.9.89

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Feb 20:51
· 65 commits to main since this release

Added

  • To configure fail-fast behavior, max-fail can now be specified in configuration. For example, to fail after 5 tests:

    [profile.default]
    fail-fast = { max-fail = 5 }

    fail-fast = true is the same as { max-fail = 1 }, and fail-fast = false is { max-fail = "all" }.

    Thanks to Jayllyz for your first contribution!

  • Within tests and scripts, the NEXTEST_PROFILE environment variable is now always set to the current configuration profile. Previously, this would only happen if the profile was configured via NEXTEST_PROFILE, as a side effect of the environment being passed through.

Changed

  • The --max-fail and --no-tests options no longer require using an equals sign. For example, --max-fail 5 and --max-fail=5 now both work.

    This was previously done to avoid confusion between test name filters and arguments. But we believe the new --no-tests default to fail sufficiently mitigates this downside, and uniformity across options is valuable.

Fixed

  • Nextest now uses rustc -vV to obtain the host target triple, rather than using the target the cargo-nextest binary was built for. This fixes behavior for runtime cross-compatible binaries, such as -linux-musl binaries running on -linux-gnu.
  • If nextest is paused and later continued, the progress bar's time taken now excludes the amount of time nextest was paused for.
  • Update rust-openssl for CVE-2025-24898.

Miscellaneous