OpenBSD ports

The devel/py-test-run-parallel port

py3-test-run-parallel-0.10.0 – pytest plugin to run tests concurrently

Description

This pytest plugin takes a set of tests that would be normally be run
serially and execute them in parallel.

If your tests are unable to find "pytest.mark.parallel_threads", you want
this.

The main goal of pytest-run-parallel is to discover thread-safety issues
that could exist when using C libraries, this is of vital importance
after PEP703, which provides a path for a CPython implementation without
depending on the Global Interpreter Lock (GIL), thus allowing for proper
parallelism in programs that make use of the CPython interpreter.

This plugin is not an alternative to pytest-xdist and does not run all
of the tests in a test suite simultaneously in a thread pool. Instead,
it runs many instances of the same test in a thread pool. It is only
useful as a tool to do multithreaded stress tests using an existing test
suite and is not useful to speed up the execution of a test suite via
multithreaded parallelism.

WWW: https://pypi.org/project/pytest_run_parallel
Only for arches
aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64 sparc64
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies