Date: 2007-11-17 16:57
Sender: Mauricio Julio Fernandez Pradier
If you run rcov with no options, it will tell you which files
will be ignored in the coverage reports.
In my case, I get (Ruby is installed under /home/batsman/usr):
Files matching any of the following regexps will be omitted in
the report(s):
[/\A\/home\/batsman\/usr\/lib/,
/\btc_[^.]*.rb/,
/_test\.rb\z/,
/\btest\//,
/\bvendor\//, /\A\/home\/batsman\/usr\/\/lib\/ruby\/site_ruby\/1
\.8\/rcov\/report\.rb\z/]
/usr/lib should be included there if that's where ruby resides,
but you can use -x /usr/lib to request that it be ignored. |