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

Version Path
noodall-form-builder-0.5.4 Rakefile
noodall-form-builder-0.5.3 Rakefile
noodall-form-builder-0.5.2 Rakefile
noodall-form-builder-0.5.0 Rakefile
noodall-form-builder-0.4.2 Rakefile
noodall-form-builder-0.4.1 Rakefile
noodall-form-builder-0.4.0 Rakefile
noodall-form-builder-0.3.3 Rakefile
noodall-form-builder-0.2.11 Rakefile
noodall-form-builder-0.3.2 Rakefile
noodall-form-builder-0.3.1 Rakefile
noodall-form-builder-0.3.0 Rakefile
noodall-form-builder-0.2.10 Rakefile
noodall-form-builder-0.2.9 Rakefile
noodall-form-builder-0.2.8 Rakefile
noodall-form-builder-0.2.7 Rakefile
noodall-form-builder-0.2.5 Rakefile
noodall-form-builder-0.2.4 Rakefile
noodall-form-builder-0.2.3 Rakefile
noodall-form-builder-0.2.2 Rakefile