bmuschko / gradle-clover-plugin

Gradle plugin for generating a code coverage report using Clover
Apache License 2.0
74 stars 49 forks source link

Add ability to exclude certain test patterns via testExcludes #74

Closed noroutine closed 7 years ago

noroutine commented 8 years ago

This allows to exclude non-critical classes from coverage report - for example mocks, that typically get 0 coverage and lower the average result

Alex-Vol commented 7 years ago

Thanks for this simple and effective enhancement @noroutine. I will add a simple integration test to prove it works as desired and pull this into the current stream for release soon.

Alex-Vol commented 7 years ago

I rebased your code @noroutine and added a simple integration test to prove it works as expected. Thank you for this submission. It will be part of the 2.0.2 release.