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

33 lines (26 sloc) 0.686 kb
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'
namespace :test do
RSpec::Core::RakeTask.new(:rspec) do |t|
t.rspec_opts = "--color"
end
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "features --format pretty --tags ~@wip"
end
namespace :features do
Cucumber::Rake::Task.new(:wip) do |t|
t.cucumber_opts = "features --format pretty --tags @wip --wip"
end
end
end
desc "Run all tests"
task :test => ['test:rspec', 'test:features']
desc "Create a test project"
task :run do
sh "bin/calatrava create test --dev"
end
namespace :gem do
Bundler::GemHelper.install_tasks
end
Jump to Line
Something went wrong with that request. Please try again.