30 September 2012

Cucumber and ambiguous results

I had some solid tests that kept error out on me.  It stumped me for quite awhile. I was busy looking at the logic, and didn't notice the error was really referencing the Then statement and saying it was "ambiguous."  Since I had several similar tests, I realized that the error was really about the Then statement in my Cucumber test.

All I had to do was change the language of the Then statement to be more unique and the tests began to pass.

No comments:

Post a Comment