-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
test-runner: run in random order #48385
Copy link
Copy link
Closed as not planned
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.
What is the problem this feature will solve?
This feature will improve user tests quality by allowing to run them in random order to ensure that tests are properly isolated from each other.
What is the feature you are proposing to solve the problem?
Allow to run tests in random order based on random seed. See jest randomize or vitest shuffle
Seed will allow to rerun test in the same order to reproduce failed case for specific order.