Hi, We are developing server application using Tomcat. We have written bunch of servlets and many integration tests. All my Integration tests does is make calls to server and verify the response. We would like to get the code coverage for the integration tests. As part of it we started exploring jacoco. My server runs on one machine and integration tests run on another machine. I copied jacoco.jar outside tomcat folder and update setenv.sh (CATALINA_OPTS) and started tomcat
- javaagent:/home/phani/jacocoagent.jar=destfile=/home/users/adkumar/dascoverage.exec Ran my tests. It created .exec file after stopping the tomcat. When I open the report in Eclemma it shown the coverage as 0%. I am not sure what I am missing here. Can someone help me to get the code coverage for my server code? Thanks. Regards Phani -- 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/c2fc97e5-4779-434a-9c78-71822af73fba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
