Yet more Cucumber Tagging

October 1st, 2009

Nick Rutherford

Cucumber now comes with some rake tasks to help you out on your road to tag-happiness.

rake cucumber:ok will run any scenarios not tagged with @wip

rake cucumber:wip will run any scenarios tagged with @wip and if there are more than 2 of them, or any pass, it will complain. That's not as bad as it sounds, it can be handy info.

I added ~@pending tag to the rake tasks as I wrote some features to sort out later; I don't want them executing and don't want to delete or move them. Why record the ideas in another place, they'll just get lost.

Sorry, comments are closed for this article.