Releases: nextest-rs/nextest
nextest-runner 0.105.0
nextest-runner-0.105.0 [nextest-runner] version 0.105.0
nextest-metadata 0.13.3
Added
MismatchReason::ALL_VARIANTSiterates over all known variants ofMismatchReason.
cargo-nextest 0.9.124
Fixed
The unsupported install mechanism, cargo install cargo-nextest without --locked, now fails with a helpful error message asking you to use cargo install --locked cargo-nextest.
Note that this unsupported method was broken with version 0.9.123 due to a dependency update, resulting in several issues being filed. We hope that the new mechanism results in clearer, more helpful guidance.
nextest-runner 0.104.0
nextest-runner-0.104.0 [nextest-runner] version 0.104.0
cargo-nextest 0.9.123
This is a major release with several new features. If you run into issues, please file a bug.
Added
-
Major new feature: experimental support for recording, replaying, and rerunning test runs. Enable by adding
record = trueto the[experimental]section in user config, or by settingNEXTEST_EXPERIMENTAL_RECORD=1.Once enabled, recording can be turned on by adding
enabled = trueto 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 run -R latest: Rerun tests that failed the last time.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-fileoption (environment variableNEXTEST_USER_CONFIG_FILE) allows explicit control over user configuration loading. Pass a path to a specific config file, ornoneto skip user config entirely. -
A new
--cargo-message-formatoption enables live streaming of Cargo's JSON messages to standard out. This feature is equivalent tocargo test --message-format.
Changed
-
The
experimentalsection 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
experimentalis 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-versionand an unknown experimental feature, the version error now takes precedence. This produces clearer error messages for users running older nextest versions.
Fixed
nextest-runner 0.104.0-b.4
nextest-runner-0.104.0-b.4 [nextest-runner] version 0.104.0-b.4
cargo-nextest 0.9.123-b.4
Added
--cargo-message-formatenables live streaming of Cargo's JSON messages to standard out.
nextest-metadata 0.13.2
Added
NextestExitCode::RERUN_TESTS_OUTSTANDINGindicates that all tests passed during a rerun, but there are still outstanding tests that were known to have failed earlier.- For test filtering,
MismatchReason::RerunAlreadyPassed, indicating that the test run already passed. - With the
proptest1feature,impl Arbitrary for TestCaseName.
nextest-runner 0.104.0-b.3
nextest-runner-0.104.0-b.3 [nextest-runner] version 0.104.0-b.3
cargo-nextest 0.9.123-b.3
Added
Rerun functionality, built on top of the record-replay feature introduced in beta 1.