Pytest-xdist

Latest version: v3.6.1

Safety actively analyzes 638819 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 12

1.22.2

================================

Bug Fixes
---------

- Add backward compatibility for ``slaveoutput`` attribute to
``WorkerController`` instances. (`285
<https://github.com/pytest-dev/pytest-xdist/issues/285>`_)

1.22.1

================================

Bug Fixes
---------

- Fix issue when using ``loadscope`` or ``loadfile`` where tests would fail to
start if the first scope had only one test. (`257
<https://github.com/pytest-dev/pytest-xdist/issues/257>`_)


Trivial Changes
---------------

- Change terminology used by ``pytest-xdist`` to *master* and *worker* in
arguments and messages (for example ``--max-worker-reset``). (`234
<https://github.com/pytest-dev/pytest-xdist/issues/234>`_)

1.22.0

================================

Features
--------

- Add support for the ``pytest_runtest_logfinish`` hook which will be released
in pytest 3.4. (`266
<https://github.com/pytest-dev/pytest-xdist/issues/266>`_)

1.21.0

================================

Deprecations and Removals
-------------------------

- Drop support for EOL Python 2.6. (`259
<https://github.com/pytest-dev/pytest-xdist/issues/259>`_)


Features
--------

- New ``--dist=loadfile`` option which load-distributes test to workers grouped
by the file the tests live in. (`242
<https://github.com/pytest-dev/pytest-xdist/issues/242>`_)


Bug Fixes
---------

- Fix accidental mutation of test report during serialization causing longrepr
string-ification to break. (`241
<https://github.com/pytest-dev/pytest-xdist/issues/241>`_)

1.20.1

================================

Bug Fixes
---------

- Fix hang when all worker nodes crash and restart limit is reached (`45
<https://github.com/pytest-dev/pytest-xdist/issues/45>`_)

- Fix issue where the -n option would still run distributed tests when pytest
was run with the --collect-only option (`5
<https://github.com/pytest-dev/pytest-xdist/issues/5>`_)

1.20.0

================================

Features
--------

- ``xdist`` now supports tests to log results multiple times, improving
integration with plugins which require it like `pytest-rerunfailures
<https://github.com/gocept/pytest-rerunfailures>`_ and `flaky
<https://pypi.python.org/pypi/flaky>`_. (`#206 <https://github.com/pytest-
dev/pytest-xdist/issues/206>`_)


Bug Fixes
---------

- Fix issue where tests were being incorrectly identified if a worker crashed
during the ``teardown`` stage of the test. (`124 <https://github.com/pytest-
dev/pytest-xdist/issues/124>`_)

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.