Skip to content

Feature: xRetry.SpecFlow: Global configuration to retry all scenarios #78

@JoshKeegan

Description

@JoshKeegan

Add a global config to allow for the user to specify that they would like all scenarios to be retried by default. Using @retry(n) tag on a scenario would still allow for the default to be overridden (to specify a non-default number of times or delay between retries).
Idea from #71

I don't think that there needs to be any new syntax to specify that a test would not need to be retried (i.e. to opt-out) as the user could always tag scenarios as @retry(1) to say they only want that scenario to run once.

Would be good if the configuration was an extension of what gets added by #77 so that xRetry gets a single config file to cover xunit & specflow tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions