pytest-xdist (original) (raw)

pytest xdist plugin for distributed testing, most importantly across multiple CPUs

Project description

PyPI version https://img.shields.io/conda/vn/conda-forge/pytest-xdist.svg Python versions https://github.com/pytest-dev/pytest-xdist/workflows/test/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

The pytest-xdist plugin extends pytest with new test execution modes, the most used being distributing tests across multiple CPUs to speed up test execution:

pytest -n auto

With this call, pytest will spawn a number of workers processes equal to the number of available CPUs, and distribute the tests randomly across them.

Documentation

Documentation is available at Read The Docs.

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

File details

Details for the file pytest_xdist-3.6.1.tar.gz.

File metadata

File hashes

Hashes for pytest_xdist-3.6.1.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d | | | MD5 | 1727da538fb0d417283f4ee2a0e4e43b | | | BLAKE2b-256 | 41c43c310a19bc1f1e9ef50075582652673ef2bfc8cd62afef9585683821902f | |

See more details on using hashes here.

File details

Details for the file pytest_xdist-3.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_xdist-3.6.1-py3-none-any.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7 | | | MD5 | 87ba9f9c37dc314d6e24343b2e0a6a90 | | | BLAKE2b-256 | 6d821d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449 | |

See more details on using hashes here.