pytest-dev / pytest-xdist

pytest plugin for distributed testing and loop-on-failures testing modes.

Home Page:https://pytest-xdist.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytest-xdist

PyPI version

image

Python versions

image

image

The pytest-xdist plugin extends pytest with new test execution modes, the most used being distributing tests across multiple CPUs to speed up test execution:

pytest -n auto

With this call, pytest will spawn a number of workers processes equal to the number of available CPUs, and distribute the tests randomly across them.

Documentation

Documentation is available at Read The Docs.

About

pytest plugin for distributed testing and loop-on-failures testing modes.

https://pytest-xdist.readthedocs.io

License:MIT License


Languages

Language:Python 100.0%