Skip to content

cargo-nextest 0.9.138

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Jun 22:12
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Nextest now sets the following environment variables during the list phase, not just the run phase:

    • NEXTEST_VERSION
    • NEXTEST_REQUIRED_VERSION
    • NEXTEST_RECOMMENDED_VERSION
    • NEXTEST_RUN_ID
    • NEXTEST_BINARY_ID
    • NEXTEST_WORKSPACE_ROOT

    This lets target runners and custom test harnesses use this information while listing tests. (#3410)

Changed

  • When --cargo-metadata is passed without --binaries-metadata, and the Cargo metadata contains exactly one default member (for example, metadata generated with --manifest-path path/to/package/Cargo.toml), nextest now anchors the build scope to that member's Cargo.toml rather than widening it to the entire workspace. (#3409)
  • --workspace-remap now requires both --cargo-metadata and --binaries-metadata. The combination of --workspace-remap and --cargo-metadata cannot work without --binaries-metadata, so nextest now reports this as an error up front. (#3409)