BSD Ports

devel/py-test-random-order 1.2.0 NetBSD

Randomise the order in which pytest tests are run

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
17.4 KiB, 58.8 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.

Install

Binary package:

pkgin install py311-test-random-order

From pkgsrc:

cd /usr/pkgsrc/devel/py-test-random-order && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2.0
NetBSD 10.1 aarch641.2.0
SmartOS / illumos x86_641.2.0
macOS 15 arm641.2.0

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-test-random-order-1.2.0, py313-test-random-order-1.2.0, py314-test-random-order-1.2.0