Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prune out system directories when reporting rcov results

  • Loading branch information...
commit d060a1b82bab8f65a6be2fa4f4936d59087f5ad3 1 parent 65228fc
@marcel authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.