Hi Team,

I am getting below issue while running code coverage.

Classes in bundle 'OverAll' do no match with execution data. For report 
generation the same class files must be used as at runtime.
[jacoco:report] Execution data for class com/**/**/** does not match.

Steps followed to generate jacoco report:
-------------------------------------------------
1. I am using Serenity Rest & cucumber automation framework to run the test 
cases.
2. To generate code coverage report, I am passing some JVM argument config in a 
server as follows
JVM_ARGS="$JVM_ARGS 
-javaagent:/com/test/jacocoagent.jar=destfile=/com/test/jacoco/jacoco_test.exec"
3. At the end of the test, some jacoco_test.exec will be generated and I used 
that to extract the code coverage report using Jacoco-Jenkins plugin setup.

Getting some amount of line of coverage but with above issue.

I got to know that its because of different java or compiler version issue and 
some offline instrumentation technique we have but not sure how to configure 
that.
I am using ant build configuration for the jacoco.

Request to kindly help me to resolve the issue. Thanks in Advance.


-- 
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/dd98c9f0-d690-4244-b865-371f9139f9f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to