Rickard,

Rickard Öberg wrote:

What you can do is test for the opposite: If you have a Given/When/Then scenario, and then the steps are wrong (i.e. you use @Given for the When method, and so on), then you can test for when that scenario fails (=i.e. then it's ok).

Committed refactor and deployed 2.4-SNAPSHOT.

A test has been added in ConfusingStepsBehavior along the lines described above.

The trader example scenario (trader_sells_all_stocks.scenario) has also updated to show how steps of different types are allowed with same matching pattern.

Will keep issue open until you've verified that snapshot works for you as well.

Cheers



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to