Quick Tip: Cucumber Works-in-Progress
After upgrading to the latest gems, including cucumber and webrat, I noticed a deprecation message when trying to run rake features. There are new rake tasks now for running cucumber features:
So now, you can indicate which scenarios should pass and which are still be worked on, then run them separately if you like. Simply add some meta-data to your scenarios like this:
This will tag the scenario as a test that should work. If you have a work-in-progress, simply tag with @wip.
Read about some other ridiculously awesome cucumber and webrat features on the thoughtbot blog.
More of my rantings
- Quick Tip: Override Rails Generated URLs
- Quick Tip: Rails Singularization of -ess
- Quick Tip: Rails 2.1 Time Zones
These might also interest you
- Fitbit (Brainfuel)
- BrainFuel Tip: Use the Sharpen Filter (Brainfuel)
- Outlook Tip (Brainfuel)







