pytest-xdist

pytest plugin for distributed testing and loop-on-failures testing modes.

MIT License

Downloads
28.5M
Stars
1.4K
Committers
102

============
pytest-xdist

.. image:: http://img.shields.io/pypi/v/pytest-xdist.svg :alt: PyPI version :target: https://pypi.python.org/pypi/pytest-xdist

.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-xdist.svg :target: https://anaconda.org/conda-forge/pytest-xdist

.. image:: https://img.shields.io/pypi/pyversions/pytest-xdist.svg :alt: Python versions :target: https://pypi.python.org/pypi/pytest-xdist

.. image:: https://github.com/pytest-dev/pytest-xdist/workflows/test/badge.svg :target: https://github.com/pytest-dev/pytest-xdist/actions

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black

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 <https://pytest-xdist.readthedocs.io>__.

Package Rankings
Top 1.22% on Pypi.org
Top 9.37% on Alpine-v3.10
Top 7.93% on Alpine-v3.14
Top 10.31% on Alpine-v3.17
Top 9.61% on Alpine-v3.16
Top 7.78% on Conda-forge.org
Top 9.05% on Alpine-v3.15
Top 10.64% on Spack.io
Top 7.38% on Alpine-v3.13
Top 3.56% on Alpine-v3.18
Top 7.88% on Alpine-v3.11
Top 7.58% on Alpine-v3.12
Top 21.75% on Anaconda.org