Skip to content

Provide a way to define given and when phases without the need of overriding a method. #7

@HerrLoesch

Description

@HerrLoesch

It is kind of anoying to allways write:
public override void Given()
{
...
}

It would be easier to just write something like:

GivenIDoSomething = () =>  ... ;

or

[Given]
void IDoSomething() => ... ;

or

Given IDoSomething = () => ... ;

Second way is used by MSpec.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions