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: Rails Singularization of -ess
- Quick Tip: Override Rails Generated URLs
- Quick Tip: Route Associations
These might also interest you
- Events in PHX that need your Support (Aaron Post)
- How to get spell check to work in WordPress 2.0 (Brainfuel)
- Comparative Advantages in Business (Brainfuel)