Skip to content

Retry Mechanism For Failed Tests For 'N' times #65

@anas-baadshah

Description

@anas-baadshah

Do we have a mechanism to rerun the failed tests 'n' times. As I can see the re-run by file mechanism cannot be implemented since I can see a comment from the cuckulater example

/**
 * The CucumberOptions annotation is mandatory for exactly one of the classes in the test project.
 * Only the first annotated class that is found will be used, others are ignored. If no class is
 * annotated, an exception is thrown. This annotation does not have to placed in runner class
 */

How can we implement a retry mechanism? Any advice/ docs?
Thanks

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