-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run tests NOT in random order - unshuffle #3922
Comments
Same here. I want to shuffle by default, but when I use |
You can disable shuffle in a single file or next describe block with And to undo this you can call |
+1 here. I want to shuffle tests to make sure my integration tests are side effect free. However, for big ones I like having a sequential describe block to make it easier to read.
|
Clear and concise description of the problem
When global tests configuration
shuffle
is set totrue
to ensure tests isolation there is no way to run some specific test suite in non-random order.This is required when you have long integration test which is split in multiple blocks, for example:
This is similar to #3731
Suggested solution
Add option
describe.unshuffle
to run specific test block in non-shuffled orderAlternative
Add logic to existing
describe.sequential
to run specific test block in non-shuffled orderAdditional context
No response
Validations
The text was updated successfully, but these errors were encountered: