Pytest-rerunfailures

Latest version: v14.0

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

Scan your dependencies

Page 1 of 5

14.0

-----------------

Bug fixes
+++++++++

- Fix missing teardown for non-function scoped fixtures when using only_rerun or rerun_except queries.
(`234 <https://github.com/pytest-dev/pytest-rerunfailures/issues/234>`_)
and (`241 <https://github.com/pytest-dev/pytest-rerunfailures/issues/241>`_)

Breaking changes
++++++++++++++++

- Drop support for Python 3.7.

- Drop support for pytest < 7.2.

Features
++++++++

- Add support for pytest 8.0, 8.1.

13.0

-----------------

Breaking changes
++++++++++++++++

- Drop support for pytest < 7.0.

Features
++++++++

- Add support for Python 3.12.

Bug fixes
+++++++++

- Fix crashitem names mismatch between client and server.
(`172 <https://github.com/pytest-dev/pytest-rerunfailures/issues/172>`_)

- Fix crash when setup fails with --rerun-except flag.
(`230 <https://github.com/pytest-dev/pytest-rerunfailures/issues/230>`_)

12.0

-----------------

Breaking changes
++++++++++++++++

- Drop support for pytest < 6.2.

Features
++++++++

- Add ``only_rerun`` and ``rerun_except`` arguments to ``pytest.mark.flaky`` marker.

- Add support for pytest 7.3, 7.4.

Bug fixes
+++++++++

- Failures are now rerun only if they match at least one ``--only-rerun``
pattern (if given) and none of the ``--rerun-except`` patterns. Previously,
using both ``--only-rerun`` and ``--rerun-except`` together could cause
failures to be rerun even if they did not match any ``--only-rerun``
pattern, and when using multiple ``--rerun-except`` patterns, all failures
would be rerun unless they matched every pattern.
(`225 <https://github.com/pytest-dev/pytest-rerunfailures/issues/225>`_)

11.1.2

-------------------

Bug fixes
+++++++++

- Execute teardown when test was skipped in setup phase of a fixture.

11.1.1

-------------------

Bug fixes
+++++++++

- Fix crash during teardown when runtest protocol hook is overwritten by
another plugin.

- Fix crash during teardown when TestCase class is used as base class.

11.1

-----------------

Bug fixes
+++++++++

- Run teardown of session, class, ... scoped fixtures only once after rerunning tests

Features
++++++++

- Expose ``reruns`` and ``reruns_delay`` through ``pytest.ini`` file.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.