Hello,

I’ve noticed that JaCoCo automatically excludes classes and methods 
annotated with @Generated from code coverage reports.

In my project, however, I use a custom annotation whose name contains 
"Generated", but it is *100% business/functional.* It is not related to 
code generation. Unfortunately, JaCoCo filters it out just like generated 
code, even though I want it to be measured by coverage.

Is there a way to configure JaCoCo so that it does *not exclude annotations 
containing "Generated"*, or to whitelist my specific annotation so that the 
annotated code is still included in the coverage report?

Thanks in advance for your help!

Best regards,

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jacoco/13a5a98c-eb00-42fb-a720-bacc2bb8829dn%40googlegroups.com.

Reply via email to