github nextest-rs/nextest cargo-nextest-0.9.40
cargo-nextest 0.9.40

latest releases: cargo-nextest-0.9.140, nextest-runner-0.121.0, nextest-filtering-0.21.3...
3 years ago

Added

  • Overrides can now be restricted to certain platforms, using triples or cfg() expressions. For example, to add retries, but only on macOS:

    [[profile.default.overrides]]
    platform = 'cfg(target_os = "macos")'
    retries = 3

    For an override to match, platform and filter (if specified) must both be true for a given test. While cross-compiling code, platform is matched against the host platform for host tests, and against the target platform for target tests.

  • Nextest now reads environment variables specified in the [env] section from .cargo/config.toml files. The full syntax is supported including force and relative.

    Thanks to Waleed Khan for your first contribution!

  • Nextest now sets the CARGO_PKG_RUST_VERSION environment variable when it runs tests. For cargo test this was added in Rust 1.64, but nextest sets it across all versions of Rust.

Don't miss a new nextest release

NewReleases is sending notifications on new releases.