2

Hi I have a problem the code coverage shows 0% but tests run successfully and jacoco shows 0 code coverage for the successfully run tests.

I followed the configuration shared in this link for jacoco but still it did not help.

https://github.com/intuit/karate/tree/master/karate-demo#code-coverage-using-jacoco

The issue is our application is packaged as a war and deployed on external tomcat. It is a spring boot app which is a multi-module maven project.

When the war is deployed on tomcat and I bring the tomcat up. Karate test case is run only when the application is up and running. The test cases run successfully but coverage shows 0. I dont see any problem with maven surefire plugin and jacoco config. Both reports are generated with 0 code coverage.

Any help is much appreciated. I cannot share the code unfortunately.

0 Answers0