Skip to content

Allow setting --only-rerun equivalent in the flaky decorator #164

@johnthagen

Description

@johnthagen

Expand support to allow the --only-rerun equivalent flag to be passed into the flaky decorator:

@pytest.mark.flaky(reruns=2, only_rerun=[AssertionError, ValueError])

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