-
Notifications
You must be signed in to change notification settings - Fork 36
Exclude some files from the coverage total #70
Comments
No, you can't include single classes with EclEmma. The scope can be determined on source folder level only. |
Shouldn't this website be updated then? http://www.eclemma.org/userdoc/preferences.html It says |
If you read on the page says:
|
Hi All, I am trying to exclude a class that i know have coverage in it. Once i put that to the excludes preference, on a new coverage run they'll still be there in the coverage window, but they'll come up as 0% and will all be in red. Is there a solution which to solve this , i need to exclude a class and not be showing in report at all |
@monism Check my last comment I posted here. This is how the option is designed. EclEmma does not support exclusion of individual classes from the report. |
@marchof so there is no way now. i can exclude the classes as i have jacoco.exec and html file report, can you just help me in solving this |
@monism Please do not post to closed issues. Our mailing list is a great place to ask general questions: https://groups.google.com/d/forum/jacoco |
Let's say I have the files below in the same source tree
com.example.entitites.SimplePojo
com.example.something.SomethingTests
I don't want eclemma to include those files in what needs to be covered tested.
I have seen the 'excludes' preference in Eclipse, but placing classes in such do not remove them from the coverage total: in the coverage window they still appear, as 0% and their code still highlighted red (even if they were partly green before.)
Is it possible to exclude classes from what needs to be covered by tests?
The text was updated successfully, but these errors were encountered: