Maven reporting plugins do not execute if a unit test failure occurs

前端 未结 5 1355
予麋鹿
予麋鹿 2021-01-13 19:03

None of the plugins in the reporting section of Maven execute if there is a unit test failure.

I found that I can set maven.test.failure.ignore=true here - http://

5条回答
  •  失恋的感觉
    2021-01-13 19:41

    Firstly run : mvn test OR mvn install Then, if the tests fail,please run following target to generate the reports for the test results executed above: mvn -Dmaven.test.skip=true surefire-report:report

提交回复
热议问题