Making Maven run all tests, even when some fail

后端 未结 5 1901
深忆病人
深忆病人 2020-11-29 15:18

I have a project with several modules. When all tests pass, Maven test runs them all.

When tests fail in the first module, maven will not continue to the next projec

5条回答
  •  余生分开走
    2020-11-29 16:00

    Can you test with surefire 2.6 and either configure surefire with testFailureIgnore=true. Or on the command line:

    mvn install -Dmaven.test.failure.ignore=true
    

提交回复
热议问题