-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Use cargo-nextest to run unit/integration tests #39797
Copy link
Copy link
Closed
Labels
Description
cargo nextest is defacto the new standard test runner, and offers many improvements compared to the standard test runner (per-test-process-isolation, junit support, built-in flake handling).
Steps:
- Add cargo-nextest to bootstrap.
- Update
./mach test-unitto usecargo nextestinstead ofcargo test - Check if there are any unit-tests which rely on memory-sharing / in-process serialization via a Mutex and adapt those
- Update unit-test CI to use cargo-nextest builtin retry handling instead of the retry github action
- Modify custom test harness of API tests to conform to nextest custom harness expectations
Reactions are currently unavailable