Sha256: e1ef53d58040087eeb3468a1312d32ca43d8883f067b73b698df08b5c8ec7f6d

Contents?: true

Size: 367 Bytes

Versions: 20

Compression:

Stored size: 367 Bytes

Contents

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

CUKE_RESULTS = 'cucumber_results.html'

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

20 entries across 20 versions & 1 rubygems

Version Path
reveal-ck-3.2.0 rakelib/cucumber.rake
reveal-ck-3.1.0 rakelib/cucumber.rake
reveal-ck-3.0.1 rakelib/cucumber.rake
reveal-ck-3.0.0 rakelib/cucumber.rake
reveal-ck-0.6.2 rakelib/cucumber.rake
reveal-ck-0.6.1 rakelib/cucumber.rake
reveal-ck-0.6.0 rakelib/cucumber.rake
reveal-ck-0.5.1 rakelib/cucumber.rake
reveal-ck-0.5.0 rakelib/cucumber.rake
reveal-ck-0.4.2 rakelib/cucumber.rake
reveal-ck-0.4.1 rakelib/cucumber.rake
reveal-ck-0.4.0 rakelib/cucumber.rake
reveal-ck-0.3.0 rakelib/cucumber.rake
reveal-ck-0.2.0 rakelib/cucumber.rake
reveal-ck-0.1.8 rakelib/cucumber.rake
reveal-ck-0.1.7 rakelib/cucumber.rake
reveal-ck-0.1.6 rakelib/cucumber.rake
reveal-ck-0.1.5 rakelib/cucumber.rake
reveal-ck-0.1.4 rakelib/cucumber.rake
reveal-ck-0.1.3 rakelib/cucumber.rake