pytest-randomly
Pytest plugin to randomly order tests and control random.seed
Pytest plugin to randomly order tests and control random.seed
To install this package, run one of the following:
Pytest plugin to randomly order tests and control random.seed. By resetting the random seed to a repeatable number for each test, tests can create data based on random numbers and yet remain repeatable, for example factory boy's fuzzy values. This is good for ensuring that tests specify the data they need and that the tested system is not affected by any data that is filled in randomly due to not being specified. Pytest will automatically find the plugin and use it when you run pytest.
Summary
Pytest plugin to randomly order tests and control random.seed
Information Last Updated
Sep 8, 2025 at 17:30
License
MIT
Total Downloads
6
GitHub Repository
https://github.com/pytest-dev/pytest-randomlyDocumentation
https://github.com/pytest-dev/pytest-randomly