Skip to content

Commit

Permalink
Prune out system directories when reporting rcov results
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel committed Apr 20, 2009
1 parent 65228fc commit d060a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit d060a1b

Please sign in to comment.