I am using docker to run my application which is spring boot restful webservice.
Can i use jacoco to fetch report after manual/automation test finish to check how much code we are hitting via QA team.
I started docker container via passing JAVA_OPTS=-javaagent:/opt/jacoco/lib/jacocoagent.jar=output=tcpserver,address=*,port=6300 .
and i can connect to via jacococli to get dump
java -jar /opt/jacoco/lib/jacococli.jar dump --address localhost --destfile /tmp/jacoco.exec
now geting report out of dump file i need to pass classfile also but hence i am running images how i can pass class files.
If my question is not clear let me know i will try to put it in other way i need to resolve same on high priority, Thanks.
Hi, I am using the following command to start the service with offline instrumented code. Seeing error:
Caused by: java.lang.NoClassDefFoundError: org/jacoco/agent/rt/internal_773e439/Offline
Command am using is : java -cp org.jacoco.agent-0.8.2.jar -jar target/demo-0.0.1-SNAPSHOT.jar
Please help me what could be the issue here.
Thanks
Ravi
--
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/30ee9c75-a51c-48ac-a0bc-02c88091e2c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.