eCobertura icon indicating copy to clipboard operation
eCobertura copied to clipboard

Add ability to sort out test classes from the view

Open radaczynski opened this issue 14 years ago • 5 comments

I would like to be able to see the coverage only on application classes (in maven that would be those residing in src/main as opposed to src/test, but perhaps identifying them by name is a better idea? or by other means?)

radaczynski avatar Jun 22 '10 10:06 radaczynski

Do you know about the filters in the run configuration I added in one of the recent versions? - Do I understand correctly that you want to filter only the view, but still collect coverage data for all classes?

jmhofer avatar Jun 22 '10 18:06 jmhofer

Nope, I did not know that. Will check them out, thanks! And yes - this is exactly what I would like to achieve.

radaczynski avatar Jun 22 '10 18:06 radaczynski

So we'd need some kind of filter panel for the coverage view in addition to the run configuration filters...

jmhofer avatar Jun 22 '10 18:06 jmhofer

Would it be possible to add "Default filters" in the plugin configuration that is picked up by new launch configurations? I usually exclude Test and Mock and a configuration like that would help me much.

argoyle avatar Aug 28 '10 20:08 argoyle

filtering on directory would be even more useful example: exclude 'test' or '/src/test/java'

bradcupit avatar Sep 24 '10 13:09 bradcupit