github nextest-rs/nextest cargo-nextest-0.9.123-b.1
cargo-nextest 0.9.123-b.1

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

Added

  • Major new feature: experimental support for recording and replaying test runs. Enable by adding record = true to the [experimental] section in user config, or by setting NEXTEST_EXPERIMENTAL_RECORD=1.

    Once enabled, recording can be turned on by adding enabled = true to the [record] section in user config. Recorded runs are stored in the system cache directory.

    New commands:

    • cargo nextest replay: Replay a test run (by default, the latest completed run).
    • cargo nextest store list: List all recorded runs.
    • cargo nextest store info: Show details about a specific run.
    • cargo nextest store prune: Prune old recorded runs.
  • A new --user-config-file option (environment variable NEXTEST_USER_CONFIG_FILE) allows explicit control over user configuration loading. Pass a path to a specific config file, or none to skip user config entirely.

Changed

  • The experimental section in repository config can now also be a table, not just an array. The previous array syntax is deprecated but still supported. For example:

    # New style (recommended).
    [experimental]
    benchmarks = true
    
    # Old style (deprecated)
    experimental = ["benchmarks"]

    Note that user configuration's experimental is always a table. The array syntax is not supported in that case.

    This change enables upcoming config set support over the command line.

  • When a config file specifies both a future nextest-version and an unknown experimental feature, the version error now takes precedence. This produces clearer error messages for users running older nextest versions.

Fixed

  • Fixed another panic with on-timeout = "pass" in a different code path than the 0.9.117 fix. Thanks gakonst for your first contribution! (#2940)

Don't miss a new nextest release

NewReleases is sending notifications on new releases.