Skip to content

Instantly share code, notes, and snippets.

@MikeBild
Created June 18, 2011 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeBild/1033369 to your computer and use it in GitHub Desktop.
Save MikeBild/1033369 to your computer and use it in GitHub Desktop.
MSpec to JUnit Test Report Rake
require 'rake'
require './transform_mspec_report'
desc "Done..."
task :default => [:mspec, :transform] do
puts "Done..."
end
desc "Generate MSpec test report."
task :mspec do
puts "Running MSpec"
sh '"C:/Program Files/MSpecTestRunner/mspec-clr4.exe" --xml ./test_result.xml ./source/bin/App.exe'
end
desc "Transform MSpec test result."
task :transform do
puts "Transforming MSpec file."
TransformMSpecReport.transform()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment