pytest-xdist scheduler that runs some tests on dedicated workers. can significantly improve runtime by running long tests on separate workers.
Project description
xdist-scheduling-exclusive
pytest-xdist scheduler that runs some tests on dedicated workers. can significantly improve runtime by running long tests on separate workers.
Usage
Add to conftest.py
:
from xdist_scheduling_exclusive.exclusive_scheduling import ExclusiveScheduling
def pytest_xdist_make_scheduler(config, log):
"""xdist-pytest hook to set scheduler."""
return ExclusiveScheduling(config, log)
Developers
Do not forget to run . ./activate.sh
.
Scripts
make help
Coverage report
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for xdist_scheduling_exclusive-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1436460586a6399426c51257d2e689b31f9d73464bf850e053d4e6f8b686241f |
|
MD5 | f60e0263df6ac7bb42ffa29dddb06d27 |
|
BLAKE2b-256 | 6a6e87ac3e22eb779e76ba8083fcff7b64b4e4ef835937c22fe0eb58e13beab8 |
Close
Hashes for xdist_scheduling_exclusive-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea7fc0cb993c747ec48282723bee7e0f6b6e1e4bd09d0824055ea1292f171370 |
|
MD5 | 40da96233ad78edac99a928f1be5ba51 |
|
BLAKE2b-256 | cec0c209c01a889e1c85e1f0bfa136db17606ecc89d292d51eb669ca26cf7264 |