pytest -n auto

Category: Python & pip

pytest -n auto

Run tests in parallel using all available CPU cores (pytest-xdist)

Runs tests in parallel across all CPU cores using pytest-xdist. -n auto uses all available cores.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.