I am trying to estimate code coverage for system test. I did mvn clean test
and got the classes instrumented . when I run tests ,I am not able to see the
jacoco reports anywhere . What is the issue ?
attached the jacoco plugin spec in pom.xml
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>
${project.build.directory}/coverage-reports/jacoco-ut.exec
</destFile>
<excludes>
<exclude>**/lib/*</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>jacoco-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>
${project.build.directory}/coverage-reports/jacoco-ut.exec
</dataFile>
<outputDirectory>/jacoco-ut</outputDirectory>
<excludes>
<exclude>**/lib/*</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>jacoco-instrument</id>
<phase>test</phase>
<goals>
<goal>instrument</goal>
</goals>
<configuration>
<outputDirectory>/tmp/jacoco-ut</outputDirectory>
<excludes>
<exclude>**/lib/*</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
--
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/da9fabaf-b793-4d67-b994-ceb91322b80e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.