@@ -5,7 +5,7 namespace :test do | |||
|
5 | 5 | task :coverage do |
|
6 | 6 | rm_f "coverage" |
|
7 | 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 | 9 | files = Dir.glob("test/**/*_test.rb").join(" ") |
|
10 | 10 | system("#{rcov} #{files}") |
|
11 | 11 | system("open coverage/index.html") if PLATFORM['darwin'] |
General Comments 0
You need to be logged in to leave comments.
Login now