Skip to content

Commit

Permalink
Adding cucumber_wip to default rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
jarl-dk committed Oct 14, 2012
1 parent 4e4cd55 commit b9f6908
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Expand Up @@ -9,6 +9,10 @@ require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
end

Cucumber::Rake::Task.new(:cucumber_wip) do |t|
t.cucumber_opts = "-p wip"
end

require 'rspec/core/rake_task'
desc "Run RSpec"
RSpec::Core::RakeTask.new do |spec|
Expand All @@ -17,6 +21,6 @@ RSpec::Core::RakeTask.new do |spec|
end

desc "Run tests, both RSpec and Cucumber"
task :test => [:spec, :cucumber]
task :test => [:spec, :cucumber, :cucumber_wip]

task :default => :test

0 comments on commit b9f6908

Please sign in to comment.