Merge pull request #832 from mojombo/features-html

Add rake features:html
This commit is contained in:
Parker Moore 2013-03-03 18:23:12 -08:00
commit 968ca6967c
2 changed files with 6 additions and 2 deletions

View File

@ -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'

View File

@ -1,2 +1,3 @@
default: --format progress
default: --format pretty
travis: --format progress
html_report: --format progress --format html --out=features_report.html