0
war 파일은 tomcat7/webapps /에 있습니다.수동 테스트의 코드 적용 범위를 측정하기 위해 Jacoco를 사용할 수 있습니까?
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.5.5.201112152213</version>
<configuration>
<destFile>${basedir}/../../../../../../opt/tomcat7/webapps/coverage-reports/jacoco-unit.exec</destFile>
<dataFile>${basedir}/../../../../../../opt/tomcat7/webapps/coverage-reports/jacoco-unit.exec</dataFile>
<outputDirectory>${basedir}/../../../../../../opt/tomcat7/webapps/coverage-reports/jacoco</outputDirectory> </configuration>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
위와 프로젝트를 구축 한 후 폴더를 tomcat7에 작성되는/webapps에 index.html을가 포함되어 나는 pom.xml 파일에 다음과 같은 변화를 만들었습니다. 그러나 동일한 것은 0 % 적용 범위보고를 계속합니다. 내가 잘못하고있는 것이 있습니까? prepare-agent
의 문서에 따르면