| 1 |
Metadata-Version: 2.4 |
| 2 |
Name: pytest-xdist |
| 3 |
Version: 3.8.0 |
| 4 |
Summary: pytest xdist plugin for distributed testing, most importantly across multiple CPUs |
| 5 |
Author-email: holger krekel and contributors <[email protected]>, [email protected] |
| 6 |
License-Expression: MIT |
| 7 |
Project-URL: Homepage, https://github.com/pytest-dev/pytest-xdist |
| 8 |
Project-URL: Documentation, https://pytest-xdist.readthedocs.io/en/latest |
| 9 |
Project-URL: Changelog, https://pytest-xdist.readthedocs.io/en/latest/changelog.html |
| 10 |
Project-URL: Source, https://github.com/pytest-dev/pytest-xdist |
| 11 |
Project-URL: Tracker, https://github.com/pytest-dev/pytest-xdist/issues |
| 12 |
Classifier: Development Status :: 5 - Production/Stable |
| 13 |
Classifier: Framework :: Pytest |
| 14 |
Classifier: Intended Audience :: Developers |
| 15 |
Classifier: Operating System :: POSIX |
| 16 |
Classifier: Operating System :: Microsoft :: Windows |
| 17 |
Classifier: Operating System :: MacOS :: MacOS X |
| 18 |
Classifier: Topic :: Software Development :: Testing |
| 19 |
Classifier: Topic :: Software Development :: Quality Assurance |
| 20 |
Classifier: Topic :: Utilities |
| 21 |
Classifier: Programming Language :: Python |
| 22 |
Classifier: Programming Language :: Python :: 3 |
| 23 |
Classifier: Programming Language :: Python :: 3 :: Only |
| 24 |
Classifier: Programming Language :: Python :: 3.9 |
| 25 |
Classifier: Programming Language :: Python :: 3.10 |
| 26 |
Classifier: Programming Language :: Python :: 3.11 |
| 27 |
Classifier: Programming Language :: Python :: 3.12 |
| 28 |
Classifier: Programming Language :: Python :: 3.13 |
| 29 |
Requires-Python: >=3.9 |
| 30 |
Description-Content-Type: text/x-rst |
| 31 |
License-File: LICENSE |
| 32 |
Requires-Dist: execnet>=2.1 |
| 33 |
Requires-Dist: pytest>=7.0.0 |
| 34 |
Provides-Extra: testing |
| 35 |
Requires-Dist: filelock; extra == "testing" |
| 36 |
Provides-Extra: psutil |
| 37 |
Requires-Dist: psutil>=3.0; extra == "psutil" |
| 38 |
Provides-Extra: setproctitle |
| 39 |
Requires-Dist: setproctitle; extra == "setproctitle" |
| 40 |
Dynamic: license-file |
| 41 |
|
| 42 |
============ |
| 43 |
pytest-xdist |
| 44 |
============ |
| 45 |
|
| 46 |
.. image:: http://img.shields.io/pypi/v/pytest-xdist.svg |
| 47 |
:alt: PyPI version |
| 48 |
:target: https://pypi.python.org/pypi/pytest-xdist |
| 49 |
|
| 50 |
.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-xdist.svg |
| 51 |
:target: https://anaconda.org/conda-forge/pytest-xdist |
| 52 |
|
| 53 |
.. image:: https://img.shields.io/pypi/pyversions/pytest-xdist.svg |
| 54 |
:alt: Python versions |
| 55 |
:target: https://pypi.python.org/pypi/pytest-xdist |
| 56 |
|
| 57 |
.. image:: https://github.com/pytest-dev/pytest-xdist/workflows/test/badge.svg |
| 58 |
:target: https://github.com/pytest-dev/pytest-xdist/actions |
| 59 |
|
| 60 |
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg |
| 61 |
:target: https://github.com/ambv/black |
| 62 |
|
| 63 |
The `pytest-xdist`_ plugin extends pytest with new test execution modes, the most used being distributing |
| 64 |
tests across multiple CPUs to speed up test execution:: |
| 65 |
|
| 66 |
pytest -n auto |
| 67 |
|
| 68 |
With this call, pytest will spawn a number of workers processes equal to the number of available CPUs, and distribute |
| 69 |
the tests randomly across them. |
| 70 |
|
| 71 |
Documentation |
| 72 |
============= |
| 73 |
|
| 74 |
Documentation is available at `Read The Docs <https://pytest-xdist.readthedocs.io>`__. |