On 6 Jan 2009, at 05:22, Paul Covell wrote:



Joseph Wilk-4 wrote:

Tim Walker wrote:
So...that's it: Setup/Teardown Before/After scenarios...what's the scoop?

http://github.com/aslakhellesoy/cucumber/wikis/hooks

Does the information here answer your questions or do you think its
missing some details?


I've been thinking there is a good deal of utility to having a "Before"
block at the top of a Feature -- for two reasons:
1. It's more DRY
2. It captures the relevant information in a place that's obvious and easy
to refer to/update

You might want to check out this ticket, I think you and Eric Kidd basically want the same thing:
http://rspec.lighthouseapp.com/projects/16211/tickets/153-add-optional-background-section-to-features

Matt Wynne
http://blog.mattwynne.net
http://www.songkick.com

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to