--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/efba312b-275b-47cf-bd90-a3b6c7e57b00n%40googlegroups.com.
the @Generated annotation needs to be of retention CLASS or RUNTIME.Hint: javax.annotation.Generated which ships with the JDK has retention SOURCE and does not work for JaCoCo.
On 14. Oct 2020, at 09:36, Brandon Largeau <brandon...@gmail.com> wrote:Should I put a call to main in the JUnit test ?
Hello,Thanks for the answers !So I think there's no way to exclude a method fromt the coverage using Jacoco I think.I'll put the main method alone and exclude it then, thanks for the idea.Any tuto on how to achieve that using Gradle ? I already tested some idea from the internet but nothing actually work.