Skip to content

Limit reruns per scope (module, class) #213

Description

@amezin

I have a test suite where all tests are somewhat flaky. I. e. 1-2 tests out of ~4000 fail almost every time. So I'd like to account for exactly that - rerun up to 2 tests, then fail.

How could the API look like? pytest.mark.flaky on a class/module just marks all tests as flaky - and should likely continue working this way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions