Hi
The code I'm working on now is a server daemon that talks to Twitter,
an RSS feed, and some web pages. I've got mock implementations of
Twitter and the web stuff, which I start and stop with
daemon_controller[1]. I do all the setup in a Before block, but this
makes the feature runs agonisingly slow due to the time waiting for
everything to restart. I'm now starting a Merb app which will rely on
the database created by the server daemon, so it's going to get even
slower.
Are there any plans to add BeforeStory or BeforeAll blocks to
Cucumber? With this I could start everything once and add reset code
to each daemon.
Ashley
[1]
http://blog.phusion.nl/2008/08/25/daemon_controller-a-library-for-robust-daemon-management/
--
http://www.patchspace.co.uk/
http://aviewfromafar.net/
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users