Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Randomize test suite order when using pytest#1660

Closed
bradlarsen wants to merge 3 commits into
masterfrom
pytest-randomly
Closed

Randomize test suite order when using pytest#1660
bradlarsen wants to merge 3 commits into
masterfrom
pytest-randomly

Conversation

@bradlarsen

@bradlarsen bradlarsen commented Apr 9, 2020

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
@dguido
dguido deleted the pytest-randomly branch August 21, 2025 04:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant