Skip to content
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

Randomize test suite order when using pytest #1660

Closed
wants to merge 3 commits into from

Conversation

bradlarsen
Copy link
Contributor

@bradlarsen bradlarsen commented Apr 9, 2020

The idea behind running tests in a random order is that it will help to identify hidden ordering dependencies among test cases. The principle is that test cases (or perhaps groups of related test cases) shouldn't be order-dependent; they should succeed regardless of the order that they're run in.

Brad Larsen added 3 commits April 9, 2020 16:51
@bradlarsen
Copy link
Contributor Author

Hey, looks like issues with config.py in #1636 are revealed here by the addition of pytest-randomly.

@bradlarsen bradlarsen marked this pull request as draft April 17, 2020 20:01
@bradlarsen
Copy link
Contributor Author

Abandoning for now. This would be a good thing to enable eventually, but we first need to fix the ordering-dependence issues already present in Manticore tests.

@bradlarsen bradlarsen closed this Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant