BSD Ports

devel/py-pytest-random-order 1.1.1_1 DragonFly

Randomize the order in which pytest tests are run with some control over the randomness

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
16.9 KiB, 62.3 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-pytest-random-order1.1.1_1
FreeBSDdevel/py-pytest-random-order1.2.0
HardenedBSDdevel/py-pytest-random-order1.2.0
GhostBSDdevel/py-pytest-random-order1.2.0

Install

Binary package:

pkg install py311-pytest-random-order

From DPorts:

cd /usr/dports/devel/py-pytest-random-order && make install clean

Dependencies

Run dependencies 2

No port depends on this one.