pytest-xdist 3.7.0


pip install pytest-xdist

  Latest version

Released: May 26, 2025


Meta
Author: holger krekel and contributors,
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Framework
  • Pytest

Intended Audience
  • Developers

Operating System
  • POSIX
  • Microsoft :: Windows
  • MacOS :: MacOS X

Topic
  • Software Development :: Testing
  • Software Development :: Quality Assurance
  • Utilities

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
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.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
execnet (>=2.1)
pytest (>=7.0.0)