About Anaconda Help Download Anaconda

Pytest plugin to randomly order tests and control random.seed

Installers

  • linux-64 v3.15.0

conda install

To install this package run one of the following:
conda install anacondaproserve::pytest-randomly

Description

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.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy