Displaying 1 result from an estimated 1 matches for "rcov_out".
Did you mean:
lcov_out
2006 Mar 16
1
Re: rcov 0.2.0 - code coverage tool for Ruby
...o the file below which I put in
lib/tasks/rcov.rake in a rails project. It works great.
Thanks
pth
require ''rake/clean''
RBINDIR = Config::CONFIG[''bindir'']
RBIN = "#{RBINDIR}/rcov"
if File.exists?(RBIN)
# output goes to subdirectories of this one
RCOV_OUT = "coverage"
# "rake clobber" to remove output directory (along with other generated stuff)
CLOBBER.include(RCOV_OUT)
# don''t report coverage on these files
RCOV_EXCLUDE = %w(boot.rb environment.rb vendor/rails
test/functional test/unit).join('','&...