您的位置:首页 > 其它

JaCoCo和Maven的集成方式,在开发者测试阶段自动生成覆盖率报告

2011-07-17 13:47 567 查看
<plugin>

<groupId>org.jacoco</groupId>

<artifactId>jacoco-maven-plugin</artifactId>

<version>0.5.3.201107060350</version>

<executions>

<execution>

<id>JaCoCo Agent</id>

<phase>test-compile</phase>

<goals>

<goal>

prepare-agent

</goal>

</goals>

</execution>

<execution>

<id>JaCoCo Report</id>

<phase>test</phase>

<goals>

<goal>

report

</goal>

</goals>

</execution>

</executions>

</plugin>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: