Sha256: bb874974cd4de8a6a6bc9e10ace6a8d13ad2984d5236f5e297ed7b3096bab8ea
Contents?: true
Size: 1.01 KB
Versions: 46
Compression:
Stored size: 1.01 KB
Contents
# encoding: UTF-8 begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end Bundler::GemHelper.install_tasks require 'rspec/core' require 'rspec/core/rake_task' Rspec::Core::RakeTask.new(:spec) require 'cucumber/rake/task' namespace :cucumber do Cucumber::Rake::Task.new(:ok, 'Run features that should pass') do |t| t.fork = true # You may get faster startup if you set this to false t.profile = 'default' end Cucumber::Rake::Task.new(:wip, 'Run features that are being worked on') do |t| t.fork = true # You may get faster startup if you set this to false t.profile = 'wip' end Cucumber::Rake::Task.new(:rerun, 'Record failing features and run only them if any exist') do |t| t.fork = true # You may get faster startup if you set this to false t.profile = 'rerun' end desc 'Run all features' task :all => [:ok, :wip] end desc 'Alias for cucumber:ok' task :cucumber => 'cucumber:ok' task :default => :cucumber
Version data entries
46 entries across 46 versions & 3 rubygems