pytest-xdistEasy Playground

Run pytest tests in parallel across multiple CPUs

Getting started with pytest-xdistRun locally
Install
pip install pytest-xdist
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: pytest_xdist)

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

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?