summaryrefslogtreecommitdiff
path: root/devel/py-pytest-random-order/pkg-descr
blob: d07822ed7d6f8646ebe6f59a2c63b354794918b5 (plain) (blame)
1
2
3
4
5
6
7
pytest-random-order is a pytest plugin that randomises the order of tests. This
can be useful to detect a test that passes just because it happens to run after
an unrelated test that leaves the system in a favourable state.

The plugin allows user to control the level of randomness they want to introduce
and to disable reordering on subsets of tests. Tests can be rerun in a specific
order by passing a seed value reported in a previous test run.