/ Published in: Ruby
URL: http://wiki.github.com/aslakhellesoy/cucumber/using-rake
Note that Rake is slower than just running cucumber
Expand |
Embed | Plain Text
require 'cucumber' require 'cucumber/rake/task' desc 'Run Cucumber features and generate an HTML summary, JUnit XML and a plain text log' Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = [ "--no-color", "--format progress -o log/features.log", "--format junit -o log/", "--format html -o log/features.html", "--format pretty"] end
You need to login to post a comment.
