pytest-dev/pytest-xdist
pytest plugin for distributed testing and loop-on-failures testing modes. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 99
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 35
- age_days: 4019
- days_rel: 428
- days_push: 8
- n_releases_24m: 2
Adoption not part of the score
1898 stars · 280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pytest-xdist is a pytest plugin that adds distributed test execution modes, most notably running tests in parallel across multiple CPU cores. It also supports loop-on-failures mode for repeatedly rerunning failing tests.
Use cases
- speed up pytest test suite by running tests in parallel across CPUs
- distribute tests across multiple worker processes
- rerun failing tests in a loop until they pass
- run tests on remote workers
- reduce CI pipeline test execution time
When to choose
- your pytest suite is slow and tests can run independently in parallel
- you want to flake-hunt by looping failing tests repeatedly
- you need to spread tests across multiple processes or machines
When to avoid
- your tests share mutable global state or databases that cannot be parallelized safely
- test ordering matters and cannot be made independent
- you use a test framework other than pytest
Facets
plugin · maturity stable
testing e2e-testing concurrency testing developer-tools python cli cross-platform pytest-plugin parallel-testing distributed-testing test-runner automation
2 sources
- readme: https://github.com/pytest-dev/pytest-xdist · fetched 2026-08-28 · eccd82911c4d
- registry_pypi: https://pypi.org/pypi/pytest-xdist/json · fetched 2026-08-29 · 7c1188bc7760
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytest-dev/pytest-xdist | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest-xdist")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem