BehaveN - passing argument with string type from txt scenario
-
19-09-2019 - |
Question
This is my scenario
Given a new calculator
When adding "2"
Then the result is 1
Problem is with When
part, it receives null as argument.
public void when_adding_x1(string x1)
{
//x1 == null :(
throw new PendingException();
}
Any ideas what's wrong?
Solution
Took source from git and it works now...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow