Added
-
Experimental support for running benchmarks via
cargo nextest bench. SetNEXTEST_EXPERIMENTAL_BENCHMARKS=1to 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
listcommand now supports--message-format onelinefor grep-friendly output. -
Nextest now accepts
--target host-tupleto 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 listhas been changed to a newautovalue, which is equivalent tohuman(the previous default) if standard output is an interactive terminal, andonelineif 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+LKinstead ofTRY n FAIL.