Skip to content

Examples do not work with RunStepWithArgsAttribute #136

Open
@JakeGinnivan

Description

@JakeGinnivan

ExecutableAttributeStepScanner I was talking about is when you use RunStepWithArgsAttribute and examples together, it will not work.

But to make a test fail, do this to ReflectiveWithExamples

    -public void GivenStepWith__FirstExample__PassedAsParameter(int firstExample)
    +[RunStepWithArgs("input string")]
    +public void GivenStepWith__FirstExample__PassedAsParameter(int firstExample, string input)
    {
        firstExample.ShouldBeOneOf(1, 2);
        +input.ShouldBe("input string");
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions