Permalink
Browse files

Moved cucumber tasks to Travis screen

  • Loading branch information...
argent-smith committed Sep 12, 2011
1 parent 5a19739 commit 110c39d9f6a0626f76400586d54d90ea333d0c3b
Showing with 11 additions and 11 deletions.
  1. +11 −11 Rakefile
View
@@ -20,20 +20,20 @@ unless ENV['TRAVIS']
task :autotest => [".autotest", ".rspec"] do
system "bundle exec autotest"
end
end
# Cucumber part
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |features|
features.cucumber_opts = "features --tags ~@wip --format progress"
end
namespace :features do
Cucumber::Rake::Task.new(:pretty, "Run Cucumber features with output in pretty format") do |features|
features.cucumber_opts = "features --tags ~@wip --format pretty"
# Cucumber part
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |features|
features.cucumber_opts = "features --tags ~@wip --format progress"
end
Cucumber::Rake::Task.new(:wip, "Run @wip (Work In Progress) Cucumber features") do |features|
features.cucumber_opts = "features --tags @wip --format progress"
namespace :features do
Cucumber::Rake::Task.new(:pretty, "Run Cucumber features with output in pretty format") do |features|
features.cucumber_opts = "features --tags ~@wip --format pretty"
end
Cucumber::Rake::Task.new(:wip, "Run @wip (Work In Progress) Cucumber features") do |features|
features.cucumber_opts = "features --tags @wip --format progress"
end
end
end

0 comments on commit 110c39d

Please sign in to comment.