pytest-rerunfailures

Contents:

  • Requirements and Installation
  • Quickstart
  • Command Line Interface Options
  • Configuration
  • Mark Specific Tests as Flaky
  • Contribution getting started
  • Changelog
pytest-rerunfailures
  • pytest-rerunfailures
  • View page source

pytest-rerunfailures

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

Contents:

  • Requirements and Installation
    • Requirements
    • Installation
    • Compatibility
  • Quickstart
    • Basic Usage
    • Delay Between Re-runs
    • Re-run Specific Failures
  • Command Line Interface Options
  • Configuration
    • Available pytest.ini Options
    • Example
    • Overriding pytest.ini Options
  • Mark Specific Tests as Flaky
    • Basic Usage
    • Additional Options
  • Contribution getting started
    • Preparing Pull Requests
    • Resources
    • Development
  • Changelog
    • 16.4 (unreleased)
    • 16.3 (2026-05-22)
    • 16.2 (2026-05-13)
    • 16.1 (2025-10-10)
    • 16.0.1 (2025-09-02)
    • 16.0 (2025-08-29)
    • 15.1 (2025-05-08)
    • 15.0 (2024-11-20)
    • 14.0 (2024-03-13)
    • 13.0 (2023-11-22)
    • 12.0 (2023-07-05)
    • 11.1.2 (2023-03-09)
    • 11.1.1 (2023-02-17)
    • 11.1 (2023-02-09)
    • 11.0 (2023-01-12)
    • 10.2 (2021-09-17)
    • 10.1 (2021-07-02)
    • 10.0 (2021-05-26)
    • 9.1.1 (2020-09-29)
    • 9.1 (2020-08-26)
    • 9.0 (2020-03-18)
    • 8.0 (2019-11-18)
    • 7.0 (2019-03-28)
    • 6.0 (2019-01-08)
    • 5.0 (2018-11-06)
    • 4.2 (2018-10-04)
    • 4.1 (2018-05-23)
    • 4.0 (2017-12-23)
    • 3.1 (2017-08-29)
    • 3.0 (2017-08-17)
    • 2.2 (2017-06-23)
    • 2.1.0 (2016-11-01)
    • 2.0.1 (2016-08-10)
    • 2.0.0 (2016-04-06)
    • 1.0.2 (2016-03-29)
    • 1.0.1 (2016-02-02)
    • 1.0.0 (2016-02-02)
Next

© Copyright 2012-2026, Leah Klearman and pytest-dev team.

Built with Sphinx using a theme provided by Read the Docs.