github nextest-rs/nextest cargo-nextest-0.9.117
cargo-nextest 0.9.117

latest releases: cargo-nextest-0.9.143, nextest-runner-0.122.1, cargo-nextest-0.9.142...
7 months ago

Added

  • Experimental support for running benchmarks via cargo nextest bench. Set NEXTEST_EXPERIMENTAL_BENCHMARKS=1 to enable.

    Benchmarks have a separate configuration namespace with dedicated slow-timeout and global-timeout settings:

    [bench]
    slow-timeout = { period = "120s", terminate-after = 2 }
    global-timeout = "1h"

    Per-test overrides are also supported within the [bench] section.

  • The list command now supports --message-format oneline for grep-friendly output.

  • Nextest now accepts --target host-tuple to explicitly target the host platform, mirroring Cargo's new feature. This resolves to the detected host triple at runtime. (#2872)

Changed

  • The default output style for cargo nextest list has been changed to a new auto value, which is equivalent to human (the previous default) if standard output is an interactive terminal, and oneline if not.

Fixed

  • Fixed a panic when reporting test results with on-timeout = "pass" in slow-timeout configuration.

  • Retry attempts for tests that both fail and leak handles now correctly display as TRY n FL+LK instead of TRY n FAIL.

Don't miss a new nextest release

NewReleases is sending notifications on new releases.