Permalink
Browse files

rake task for 'wip' => rake wip

and defined wip and todo tags in cucumber.yml
  • Loading branch information...
1 parent 7410ae7 commit 17a0c6c2ef8be101e653db2f7643f72724b14f10 @despo despo committed May 29, 2011
Showing with 5 additions and 0 deletions.
  1. +3 −0 Rakefile
  2. +2 −0 cucumber.yml
View
@@ -19,6 +19,9 @@ end
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)
+Cucumber::Rake::Task.new(:wip) do |wip|
+ wip.cucumber_opts = "-p wip"
+end
task :default => [:spec, :cucumber]
View
@@ -1,4 +1,6 @@
default: --tags ~@wip --tags ~@todo
+wip: --tags @wip
+todo: --tags @todo
all: features
autotest: --color
autotest-all: --color

0 comments on commit 17a0c6c

Please sign in to comment.