Commit 99c185f0 by Will Daly

Added diff coverage printout to rake coverage command

parent a5fc7219
...@@ -139,5 +139,7 @@ task :coverage => :report_dirs do ...@@ -139,5 +139,7 @@ task :coverage => :report_dirs do
sh("coverage html --rcfile=#{dir}/.coveragerc") sh("coverage html --rcfile=#{dir}/.coveragerc")
sh("coverage xml -o #{report_dir}/coverage.xml --rcfile=#{dir}/.coveragerc") sh("coverage xml -o #{report_dir}/coverage.xml --rcfile=#{dir}/.coveragerc")
sh("diff-cover #{report_dir}/coverage.xml --html-report #{report_dir}/diff_cover.html") sh("diff-cover #{report_dir}/coverage.xml --html-report #{report_dir}/diff_cover.html")
sh("diff-cover #{report_dir}/coverage.xml")
puts "\n\n"
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment