在maven 工程的pom.xml文件中加入:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
使单元测试不影响项目的编译
更多推荐
Please refer to D:\java编程\Hellofriend\target\surefire-reports for the indivi
发布评论