This is a major architectural rework of nextest. We've tested it thoroughly to the best of our ability, but if you see regressions please report them!
If you encounter a regression, you can temporarily pin nextest to the previous version in CI. If you're on GitHub Actions and are using taiki-e/install-action, use this instead:
- uses: taiki-e/install-action@v1
- with:
tool: nextest
version: 0.9.26Added
- Nextest now works with the Miri interpreter. Use
cargo miri nextest runto run your tests with Miri. - Nextest now detects some situations where tests leak subprocesses. Previously, these situations would cause nextest to hang.
- Per-test overrides now support
slow-timeoutand the newleak-timeoutconfig parameter. - A new option
--tool-config-fileallows tools that wrap nextest to specify custom config settings, while still prioritizing repository-specific configuration.
Changed
- Major internal change: The nextest list and run steps now use Tokio. This change enables the leak detection described above.
- The list step now runs list commands in parallel. This should result in speedups in most cases.
Fixed
- Nextest now redirects standard input during test runs to
/dev/null(orNULon Windows). Most tests do not read from standard input, but if a test does, it will no longer cause nextest to hang. - On Windows, nextest configures standard input, standard output and standard error to not be inherited. This prevents some kinds of test hangs on Windows.
- If a dynamic library link path doesn't exist, nextest no longer adds it to
LD_LIBRARY_PATHor equivalent. This should have no practical effect. - Archiving tests now works even if the target directory is not called
"target".