BSD Ports

devel/py-pytest-xdist 3.8.0,1 FreeBSD

Pytest xdist plugin for distributed testing and loop-on-failing modes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
89.0 KiB, 504.5 KiB installed

Description

The pytest-xdist plugin extends py.test with some unique test execution modes:

* Test run parallelization: if you have multiple CPUs or hosts you can use those for a combined test run. This allows to speed up development or to use special resources of remote machines. * --boxed: (not available on Windows) run each test in a boxed subprocess to survive SEGFAULTS or otherwise dying processes * --looponfail: run your tests repeatedly in a subprocess. After each run py.test waits until a file in your project changes and then re-runs the previously failing tests. This is repeated until all tests pass after which again a full run is performed. * Multi-Platform coverage: you can specify different Python interpreters or different platforms and run tests in parallel on all of them.

In the other systems

SystemPortVersion
FreeBSDdevel/py-pytest-xdist3.8.0,1
DragonFlydevel/py-pytest-xdist3.6.1,1
MidnightBSDdevel/py-pytest-xdist3.5.0_2,1
HardenedBSDdevel/py-pytest-xdist3.8.0,1
GhostBSDdevel/py-pytest-xdist3.8.0,1

Install

Binary package:

pkg install py312-pytest-xdist

From the ports tree:

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

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

RUN_DEPENDS=	py312-pytest-xdist>0:devel/py-pytest-xdist

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:latest3.8.0,13.8.0,12.5.0,13.6.1,13.8.0,1
FreeBSD:14:quarterly3.8.0,13.8.0,1n/a3.6.1,13.8.0,1
FreeBSD:15:latest3.8.0,13.8.0,1n/a3.6.1,13.6.1,1
FreeBSD:15:quarterly3.8.0,13.8.0,1n/an/an/a
FreeBSD:16:latest3.8.0,13.8.0,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

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

Build dependencies 17
Run dependencies 18

Configuration

Options name: devel_pytest-xdist

OptionDefaultDescription
PSUTILonDetect number of available CPUs
SETPROCTITLEonIndicate state of current running workers
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_xdist-3.8.0.tar.gz880697e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.