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.
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 #71I 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.