Go to file
Bruno Oliveira f5b4a5d6ed Configure 'test' workflow to cancel running jobs for the branch 2023-05-12 17:33:18 -03:00
.github Configure 'test' workflow to cancel running jobs for the branch 2023-05-12 17:33:18 -03:00
changelog Release 3.3.0 2023-05-12 12:24:43 -03:00
docs Improve docs of maxschedchunk (#893) 2023-04-06 09:46:34 -03:00
example Deprecate --boxed 2021-11-02 09:38:56 +02:00
src/xdist Make collection progress output less verbose (#901) 2023-05-12 10:36:32 -03:00
testing Make collection progress output less verbose (#901) 2023-05-12 10:36:32 -03:00
.gitignore Adopt 'src' layout and add 'testing' extras 2019-06-06 19:35:13 -03:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2023-05-09 05:16:48 +00:00
CHANGELOG.rst Release 3.3.0 2023-05-12 12:24:43 -03:00
LICENSE Fix line ending issues 2018-07-27 18:15:58 -03:00
MANIFEST.in Exclude SCM and CI files from distribution 2020-06-26 12:02:03 -04:00
README.rst Split workflows into test and deploy 2022-11-05 12:24:00 -03:00
RELEASING.rst Deploy via a protected environment and using PyPI trusted publishers (#902) 2023-05-12 12:17:55 -03:00
pyproject.toml Merge remote-tracking branch 'upstream/master' into release-3.0.0 2022-10-25 12:35:32 -03:00
setup.cfg Add check-package step also to 'test' workflow 2023-05-12 17:33:18 -03:00
tox.ini Add official support for Python 3.11 2022-11-05 12:24:00 -03:00

README.rst

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

============
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>`__.