Can I use given/when/then like: given when then when then when then ?

18 views
Skip to first unread message

Iakiv Kramarenko

unread,
Oct 15, 2013, 5:00:12 AM10/15/13
to easyb...@googlegroups.com
Hi, 

Some of my tests are dependent, because the goal itself is to test dependency.
Can I implement such tests in the correspondent way of mixing when and then-s:

given "some context"
when "something happened"
then "behavior 1"
when "something else happened"
then "behavior 2"
...

?

Andrew Glover

unread,
Oct 15, 2013, 8:11:32 AM10/15/13
to easyb...@googlegroups.com
Give it a shot -- it should work just fine. 


--
You received this message because you are subscribed to the Google Groups "Easyb Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to easyb-users...@googlegroups.com.
To post to this group, send email to easyb...@googlegroups.com.
Visit this group at http://groups.google.com/group/easyb-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
Sincerely,

Andrew Glover
703.577.0830 (cell)
Reply all
Reply to author
Forward
0 new messages