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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.0 | 1.2.0 | 1.0.4 | 1.1.1_1 | 1.2.0 |
| FreeBSD:14:quarterly | 1.2.0 | 1.2.0 | n/a | 1.1.1_1 | 1.2.0 |
| FreeBSD:15:latest | 1.2.0 | 1.2.0 | n/a | 1.1.1_1 | 1.1.1_1 |
| FreeBSD:15:quarterly | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=0,1: devel/py-pytest
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
| File | Size | SHA256 |
|---|---|---|
| pytest_random_order-1.2.0.tar.gz | 107304 | 12b2d4ee977ec9922b5e3575afe13c22cbdb06e3d03e550abc43df137b90439a |
Master sites 1
- PYPI