pytest-xdist

Package — TestingPython 3.7+Intermediate

Run pytest tests in parallel across multiple CPUs

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
pytest, execnet
Install
pip install pytest-xdist

Learn by Difficulty

Quick Example

python
# Install: pip install pytest-xdist
import pytest_xdist

# Basic pytest-xdist usage
print(f"Using pytest-xdist")
# See documentation for detailed examples

pytest-xdist is a third-party package. Run pytest tests in parallel across multiple CPUs. Install with: pip install pytest-xdist

Try in Playground

Tags

packagetestingquality-assurance