Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (26 sloc) 0.91 kb
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w(--color)
end
namespace :spec do
desc "Run specs with output in documentation format"
RSpec::Core::RakeTask.new(:doc) do |t|
t.rspec_opts = ["--color", "--format d"]
end
end
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"
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
task :default => [:spec, :features]
Jump to Line
Something went wrong with that request. Please try again.