Added
-
Major new feature: experimental support for recording and replaying 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 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.
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.