##// END OF EJS Templates
Exclude gems from test coverage....
Jean-Philippe Lang -
r7843:4ad5182bb2cd
parent child
Show More
@@ -5,7 +5,7 namespace :test do
5 task :coverage do
5 task :coverage do
6 rm_f "coverage"
6 rm_f "coverage"
7 rm_f "coverage.data"
7 rm_f "coverage.data"
8 rcov = "rcov --rails --aggregate coverage.data --text-summary -Ilib --html"
8 rcov = "rcov --rails --aggregate coverage.data --text-summary -Ilib --html --exclude gems/"
9 files = Dir.glob("test/**/*_test.rb").join(" ")
9 files = Dir.glob("test/**/*_test.rb").join(" ")
10 system("#{rcov} #{files}")
10 system("#{rcov} #{files}")
11 system("open coverage/index.html") if PLATFORM['darwin']
11 system("open coverage/index.html") if PLATFORM['darwin']
General Comments 0
You need to be logged in to leave comments. Login now