Hi,

I am using Jacoco 0.8.11 for OpenJDK17. We are using Runtime 
instrumentation for instrumenting the .class files under the multiple 
packages. I am attaching the java agent to the JVM and restarting my 
system. Then running my Junits which is integrated test running separately 
on Jenkins pipeline. Once the Junits are run, jacoco.exec is flushed with 
executable data collected during junits. I am generating the report using 
the Jacoco cli command and storing the report under coverage/index.html.

However, I observe some of the classes having 0% despite the associated 
Junit test running against it. When compared with Cobertura coverage 
report, the jacoco report shows very less coverage for the same set of 
classes and Junits. 


Need some guidance as what I am doing wrong here.


Regards,
Ashish.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/c7eb0406-d655-477d-a1c0-41c5ddf8117en%40googlegroups.com.

Reply via email to