Skip to content

Support optional configuration as attribute parameters for EventuallySucceeds & MustNotEventuallyFail #67

@carl-underwood

Description

@carl-underwood

This issue proposes supporting optional configuration of MaximumAttempts & DelayBetweenAttempts on EventuallySucceedsAttribute and MustNotEventuallyFailAttribute, e.g.:

[EventuallySucceeds(MaximumAttempts = 9, DelayBetweenAttemptsSeconds = 10)]
public void TheStepDefinition()
{
...

When these optional values are not provided, I propose that we use the existing TestRunContext.EventualSuccess values. This would continue to allow for project-wide defaults to be set, but for specific steps to override with values relevant to those steps if required.

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