[rspec-users] Cucumber: Group Given, Whens and Thens
Matt Wynne
matt at mattwynne.net
Thu Nov 20 10:48:53 EST 2008
Have a read of this:
http://github.com/aslakhellesoy/cucumber/wikis/step-organisation
Basically rather than saving your steps in files named around the
feature, it's better to group them around the object(s) they work on.
On 20 Nov 2008, at 15:28, aidy lewis wrote:
> Hi,
>
> Do you think this is a satisfactory way to group step files related to
> one feature
>
> e.g.
>
> publish_content_givens
> publish_content_whens
> publish_content_thens
>
> ?
>
> Thanks
>
> Aidy
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list