ports/devel/py-pytest-random-order/pkg-descr
Po-Chuan Hsieh 6b1d91b9b9
devel/py-pytest-random-order: Add py-pytest-random-order 1.0.4
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.
2022-12-30 17:04:00 +08:00

7 lines
449 B
Text

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.