Contents

pytest-xdist 3.8.0

0

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

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

Stars: 1797, Watchers: 1797, Forks: 252, Open Issues: 296

The pytest-dev/pytest-xdist repo was created 10 years ago and the last code push was Yesterday.
The project is very popular with an impressive 1797 github stars!

How to Install pytest-xdist

You can install pytest-xdist using pip

pip install pytest-xdist

or add it to a project with poetry

poetry add pytest-xdist

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/pytest-xdist/
Documentation:
https://pytest-xdist.readthedocs.io/en/latest
GitHub Repo:
https://github.com/pytest-dev/pytest-xdist

Classifiers

  • Software Development/Quality Assurance
  • Software Development/Testing
  • Utilities
No  pytest-xdist  pypi packages just yet.

Errors

A list of common pytest-xdist errors.

Code Examples

Here are some pytest-xdist code examples and snippets.

GitHub Issues

The pytest-xdist package has 296 open issues on GitHub

  • Fix KeyError when replacement worker has mismatched collection
  • New hook to get the full list of collected items (before any filtering, slicing, etc.) ?
  • Should pytest_xdist_auto_num_workers respect -X cpu_count/PYTHON_CPU_COUNT on Python 3.13+?
  • pytestmark with loadgroup not working
  • with -n 1, it generated five workers, but i expect it generated only 1 worker
  • Python 3.14 support
  • Serialization error with StrEnum obj
  • Question: How to get collected tests by worker

See more issues on GitHub

Related Packages & Articles

pytest-socket 0.7.0

A plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.

pytest-aoc 1.23.4

Downloads puzzle inputs for Advent of Code and synthesizes PyTest fixtures