Sha256: 67af7cc07b9c283662f9c2d5f75c3d0b91dc48ca848586d8848058440d132393

Contents?: true

Size: 373 Bytes

Versions: 12

Compression:

Stored size: 373 Bytes

Contents

require 'cucumber'
require 'cucumber/rake/task'
require 'rake/clean'

CUKE_RESULTS = 'cucumber_results.html'.freeze

CLEAN << CUKE_RESULTS

desc 'Run Cucumber'
Cucumber::Rake::Task.new(:cucumber) do |t|
  opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
  opts += " --tags #{ENV['TAGS']}" if ENV['TAGS']
  t.cucumber_opts = opts
  t.fork = false
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
reveal-ck-4.0.0 rakelib/cucumber.rake
reveal-ck-3.9.2 rakelib/cucumber.rake
reveal-ck-3.9.1 rakelib/cucumber.rake
reveal-ck-3.9.0 rakelib/cucumber.rake
reveal-ck-3.8.1 rakelib/cucumber.rake
reveal-ck-3.8.0 rakelib/cucumber.rake
reveal-ck-3.7.0 rakelib/cucumber.rake
reveal-ck-3.6.0 rakelib/cucumber.rake
reveal-ck-3.5.1 rakelib/cucumber.rake
reveal-ck-3.5.0 rakelib/cucumber.rake
reveal-ck-3.4.0 rakelib/cucumber.rake
reveal-ck-3.3.1 rakelib/cucumber.rake