Go to file
pre-commit-ci[bot] 34c554987a
[pre-commit.ci] pre-commit autoupdate (#1147)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1)
- [github.com/asottile/blacken-docs: 1.19.0 → 1.19.1](https://github.com/asottile/blacken-docs/compare/1.19.0...1.19.1)
- [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.12.1...v1.13.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-28 22:46:37 -03:00
.github Added support for Python 3.13 2024-10-19 08:56:01 -06:00
changelog Added changelog entry 2024-10-19 08:57:03 -06:00
docs Fix '-n logical' inconsistencies and review --help formatting (#1022) 2024-02-25 11:49:41 -03:00
example Deprecate --boxed 2021-11-02 09:38:56 +02:00
src/xdist Adapt to mypy 1.11 2024-07-23 10:05:14 -03:00
testing Clarify error message to indicate that users should refer to the documentation of pytest-xdist (#1092) 2024-06-04 08:50:20 -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 (#1147) 2024-10-28 22:46:37 -03:00
.readthedocs.yaml Install requirements.txt while building docs 2023-10-10 08:14:19 -03:00
CHANGELOG.rst Release 3.6.1 2024-04-28 22:20:45 +03:00
LICENSE Update LICENSE formatting (#996) 2024-02-12 12:04:26 -03:00
README.rst Split workflows into test and deploy 2022-11-05 12:24:00 -03:00
RELEASING.rst Add deploy instructions using the command-line (#967) 2023-12-01 11:28:21 -03:00
pyproject.toml Added support for Python 3.13 2024-10-19 08:56:01 -06:00
tox.ini Added support for Python 3.13 2024-10-19 08:56:01 -06: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>`__.