You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
proutils edited this page Sep 13, 2010
·
8 revisions
NOTE: Coverage analysis can be slow if there are a lot of files to cover.
The lemon command can also be used to check test coverage. For this use the coverage subcommand (or an abbreviation thereof, e.g. ‘cov’).
> lemon coverage test/cases/*.rb
To enusre only the code you are interested in is checked, you can either use -r to pre-require support libraries you wish not to include in the output. Or more conveniently, supply specific namespaces to include via the --namespace or -n option.