Skip to content

Commit

Permalink
rake task for 'wip' => rake wip
Browse files Browse the repository at this point in the history
and defined wip and todo tags in cucumber.yml
  • Loading branch information
despo committed May 29, 2011
1 parent 7410ae7 commit 17a0c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 2 additions & 0 deletions cucumber.yml
Original file line number Diff line number Diff line change
@@ -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.