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.

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.5.0.tar.gz (79.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_xdist-3.5.0-py3-none-any.whl (42.0 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