Question

Playing around with BehaveN

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?

Was it helpful?

Solution

Took source from git and it works now...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top