I have a maven project (https://github.com/yahoo/pulsar/) and I want to run code coverage on it.
I ran the command mvn test -Pcoverage jacoco:prepare-agent jacoco:report on the main project pom file, but the report is not generated. Instead, I get a info saying [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-test) @ pulsar-discovery-service --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default-cli) @ pulsar-discovery-service --- [INFO] argLine set to -javaagent:/home/jai1/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/jai1/pulsar/pulsar-discovery-service/target/jacoco.exec [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (default-cli) @ pulsar-discovery-service --- [INFO] Skipping JaCoCo execution due to missing execution data file. Can someone suggest how can I generate the code coverage report with this pom file. I am using apache-maven-3.3.9 and testNG. http://stackoverflow.com/questions/43507482/unable-to-run-jacoco-code-coverage-tool?noredirect=1#comment74069799_43507482 -- 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/e3b8334b-a424-4a99-9f6c-7b80bb1ae57d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
