You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2010/07/09 01:45:40 UTC
svn commit: r962314 - /incubator/deltacloud/trunk/server/Rakefile
Author: lutter
Date: Thu Jul 8 23:45:40 2010
New Revision: 962314
URL: http://svn.apache.org/viewvc?rev=962314&view=rev
Log:
Added rake junit for generating JUnit reports from cucumber
Modified:
incubator/deltacloud/trunk/server/Rakefile
Modified: incubator/deltacloud/trunk/server/Rakefile
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/Rakefile?rev=962314&r1=962313&r2=962314&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/Rakefile (original)
+++ incubator/deltacloud/trunk/server/Rakefile Thu Jul 8 23:45:40 2010
@@ -51,6 +51,11 @@ begin
t.rcov = true
t.rcov_opts << %[-o "tmp/coverage"]
end
+
+ Cucumber::Rake::Task.new(:junit) do |t|
+ t.cucumber_opts = "features --format junit --out tmp/junit"
+ end
+
rescue LoadError
desc 'Cucumber rake task not available'
task :features do