Open nehashri opened 7 years ago
Step parameters should be able to accept Enum as parameters.
enum Days { Sun, Mon, tue, Wed, thu, Fri, Sat };
The step implementation should be able to accept Enum values. The type of parameter should match the Enum name itself in step implementation.
[Step("The day is <days>")] public void checkTodayDate(Days day) // Implementation goes here }
So in a spec, * The day is "Sun" should accept the value of enum
* The day is "Sun"
Step parameters should be able to accept Enum as parameters.
The step implementation should be able to accept Enum values. The type of parameter should match the Enum name itself in step implementation.
So in a spec,
* The day is "Sun"
should accept the value of enum