grodowski / undercover

undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports

Home Page:https://undercover-ci.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to ignore coverage checks

grodowski opened this issue · comments

Needs specification, but it would be useful to mark files or parts of them as nocov. Could be good to make it an unobtrusive way (external yml file?)

@grodowski I've tried using :nocov: and it works, but I can't find it documented anywhere - can you point me to the docs which explain how to ignore coverage checks? Thanks!

@grodowski I've tried using :nocov: and it works, but I can't find it documented anywhere - can you point me to the docs which explain how to ignore coverage checks? Thanks!

Looks like this has now been documented in the README here, thanks!