As some of us have been using cucumber for quite a while now, I may not be the only one wishing his many steps ran a bit faster.
Let's try to put together a quick FAQ for people looking to speed up their steps. Here's my ideas: 1) Consolidate steps You only need to test login for each login case, not for each time you are testing some sort of logged in functionality. In most cases you can just post to sessions/create rather than filling in a login form. 1a) Don't use GivenScenario Instead, make one step that will quickly do what the scenario you want to start at the end of does. E.g. rather than fill in a form and post to a controller to create an object, just create the object in its own step. 2) Use the profiler format I've only tried this a few times, but the profile formatting appears to be useful. Anybody else have any tips? M
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users