Permalink
Browse files

RCov options

  • Loading branch information...
1 parent 4cced1f commit 2e2e3217f7a2855cf809a5b9b73a0e52613c5cdb @ches ches committed Apr 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -12,8 +12,9 @@ begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
- test.pattern = 'test/**/*_test.rb'
+ test.test_files = FileList['test/**/*_test.rb']
test.verbose = true
+ test.rcov_opts << '--exclude /gems/,/Library/,/usr/,spec,lib/tasks'
end
rescue LoadError
task :rcov do

0 comments on commit 2e2e321

Please sign in to comment.