jamadarshivani
5 years agoOccasional Contributor
Function names to step definition
Can we assign names to functions of step definitions and use it in other units ?
When("I enter {arg}, {arg}", function (param1, param2){
Log.Message("Pass");
});
For example:
When("I enter {arg}, {arg}", function enterData (param1, param2){
Log.Message("Pass");
});
Is this possible?
jamadarshivani I clarified this, this does not seem possible.