Skip to main content

pytest xdist plugin for distributed testing, most importantly across multiple CPUs

Project description

PyPI version https://img.shields.io/conda/vn/conda-forge/pytest-xdist.svg Python versions https://github.com/pytest-dev/pytest-xdist/workflows/test/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_xdist-3.6.1.tar.gz (84.1 kB view hashes)

Uploaded Source

Built Distribution

pytest_xdist-3.6.1-py3-none-any.whl (46.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page