Add features:html task to Rakefile, use cucumber profiles

This commit is contained in:
Parker Moore 2013-03-04 03:13:06 +01:00
parent a4e37c9d0a
commit 6cef28ed58
1 changed files with 4 additions and 1 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'