【已解决】surefire-reports for the individual test results.
生活随笔
收集整理的这篇文章主要介绍了
【已解决】surefire-reports for the individual test results.
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
出错原因:
测试代码执行的文件需要从target文件夹中获取。如下:
因此,需要在pom.xml中加入代码,生成target文件夹及正确的路径, 才能执行test。
代码:
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><testFailureIgnore>true</testFailureIgnore></configuration></plugin></plugins></build>有用就点个赞叭 QAQ
总结
以上是生活随笔为你收集整理的【已解决】surefire-reports for the individual test results.的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 【已解决】applicationCont
- 下一篇: 【两种解法】基础实验4-2.2 列出叶结