Permalink
Browse files

Prune out system directories when reporting rcov results

  • Loading branch information...
1 parent 65228fc commit d060a1b82bab8f65a6be2fa4f4936d59087f5ad3 @marcel marcel committed Apr 20, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -208,7 +208,7 @@ namespace :test do
desc 'Check test coverage'
task :coverage do
- system("rcov --sort coverage #{File.join(library_root, 'test/*_test.rb')}")
+ system("rcov -x Library -x support --sort coverage #{File.join(library_root, 'test/*_test.rb')}")
show_test_coverage_results
end
@@ -224,7 +224,7 @@ namespace :test do
desc 'Check test coverage of full stack remote tests'
task :full_coverage do
- system("rcov --sort coverage #{File.join(library_root, 'test/remote/*_test.rb')} #{File.join(library_root, 'test/*_test.rb')}")
+ system("rcov -x Library -x support --sort coverage #{File.join(library_root, 'test/remote/*_test.rb')} #{File.join(library_root, 'test/*_test.rb')}")
show_test_coverage_results
end

0 comments on commit d060a1b

Please sign in to comment.