diff --git a/Rakefile b/Rakefile index 9e6389ad..3b41504f 100644 --- a/Rakefile +++ b/Rakefile @@ -66,7 +66,10 @@ end begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "--format progress" + t.profile = "travis" + end + Cucumber::Rake::Task.new(:"features:html", "Run Cucumber features and produce HTML output") do |t| + t.profile = "html_report" end rescue LoadError desc 'Cucumber rake task not available' diff --git a/cucumber.yml b/cucumber.yml index ff1d0580..78342a17 100644 --- a/cucumber.yml +++ b/cucumber.yml @@ -1,2 +1,3 @@ -default: --format progress +default: --format pretty +travis: --format progress html_report: --format progress --format html --out=features_report.html