./devel/py-test-rerunfailures, Pytest plugin to re-run tests to eliminate flaky failures

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 14.0, Package name: py312-test-rerunfailures-14.0, Maintainer: pkgsrc-users

pytest-rerunfailures is a plugin for py.test that re-runs tests to eliminate
intermittent failures.


Required to run:
[devel/py-setuptools] [devel/py-test] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 20.85 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-17 18:42:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-rerunfailures: updated to 14.0

14.0 (2024-03-13)

Bug fixes

- Fix missing teardown for non-function scoped fixtures when using only_rerun or \ 
rerun_except queries.

Breaking changes

- Drop support for Python 3.7.
- Drop support for pytest < 7.2.

Features

- Add support for pytest 8.0, 8.1.
   2023-11-26 11:36:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-rerunfailures: updated to 13.0

13.0 (2023-11-22)

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.
- Fix crash when setup fails with --rerun-except flag.
   2023-10-29 17:46:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-rerunfailures: updated to 12.0

12.0 (2023-07-05)
-----------------

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.
   2023-05-05 15:04:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-rerunfailures: updated to 11.1.2

11.1.2 (2023-03-09)
-------------------

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

11.1.1 (2023-02-17)
-------------------

- 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 (2023-02-09)
-----------------

Bug fixes

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

Features

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

11.0 (2023-01-12)
-----------------

Breaking changes

- Drop support for Python 3.6.
- Drop support for pytest < 6.

Bug fixes

- Fix crash when pytest-xdist is installed but disabled.
- Fix crash when xfail(strict=True) mark is used with --rerun-only flag.

Features

- Added option `--rerun-except` to rerun failed tests those are other than the \ 
mentioned Error.
- Add support for Python 3.11.
- Add support for pytest 7.0, 7.1, 7.2.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-01-10 22:49:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-rerunfailures: updated to 9.1.1

9.1.1

Compatibility fix.
- Ignore ``--result-log`` command line option when used together with ``pytest
  >= 6.1.0``, as it was removed there. This is a quick fix, use an older
  version of pytest, if you want to keep this feature for now.
- Support up to pytest 6.1.0.

9.1

Features
- Add a new flag ``--only-rerun`` to allow for users to rerun only certain
  errors.

Other changes
- Drop dependency on ``mock``.
- Add support for pre-commit and add a linting tox target.