FreeBSD Ports

devel/py-pytest-random-order 1.2.0

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

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
674926fbf1
License
MIT
Categories
devel, python
Package size
17.6 KiB, 56.1 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

As a binary package — by origin, or by package name:

pkg install devel/py-pytest-random-order
pkg install py312-pytest-random-order

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pytest-random-order>0:devel/py-pytest-random-order

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.01.2.01.0.41.1.1_11.2.0
FreeBSD:14:quarterly1.2.01.2.0n/a1.1.1_11.2.0
FreeBSD:15:latest1.2.01.2.0n/a1.1.1_11.1.1_1
FreeBSD:15:quarterly1.2.01.2.0n/an/an/a
FreeBSD:16:latest1.2.01.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 17
All run dependencies 15

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_random_order-1.2.0.tar.gz10730412b2d4ee977ec9922b5e3575afe13c22cbdb06e3d03e550abc43df137b90439a
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
674926fbf1 Po-Chuan Hsieh devel/py-pytest-random-order: Update to 1.2.0
Changes: https://github.com/pytest-dev/pytest-random-order/releases https://github.com/pytest-dev/pytest-random-order/blob/main/CHANGELOG.rst