pytest-xdist
Pytest plugin for distributed test execution across multiple CPUs and machines, plus loop-on-failures modes to speed up large test suites.
Our Verdict
Mandatory once your pytest suite crosses a few minutes, though it will expose hidden coupling between tests.
Pros
- Distributes tests across CPUs and machines
- Loop-on-failure mode speeds debugging
- Massive wall-clock gains on large suites
- Battle-tested in big Python codebases
Cons
- Test isolation bugs surface under parallelism
- Shared fixtures need careful scoping
- DB tests often need per-worker databases
When to Use pytest-xdist
Good fit if you need
- Distribute pytest tests across multiple CPU cores
- Run test suites in parallel across remote machines
- Loop-on-failures mode to reproduce intermittent bugs
- Speed up large Python test suites by 4-8x in CI
Pricing
Price wrong?pytest-xdist Pricing
- Pricing Model
- free
- Free Tier
- Yes
- Entry Price
- β
- Enterprise Available
- No
- Transparency Score
- β
Beta β estimates may differ from actual pricing
Estimated Monthly Cost
$25
Estimated Annual Cost
$300
Estimates are approximate and may not reflect current pricing. Always check the official pricing page.
Project Health
Health Score
10
today
147d
301
N/A
MIT
Last checked: 2026-04-21
Lock-in Assessment
π Thinking about migrating off pytest-xdist?
Get an AI-drafted migration plan + a copy-paste email to pytest-xdist support requesting a data export. Pick where you're moving to and tell us your context.
Looking for alternatives to pytest-xdist?
Answer 4 quick questions β get an AI-ranked shortlist of tools that match your stack and requirements.
Open AI Tool FinderCommunity Discussion
Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.