Alex Rivera | Logout

Making Maven run all tests, even when some fail

Asked 2010-11-13T21:08:15.790
325

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 project. I have testFailureIgnore set to true in Surefire settings, but it doesn't help.

How do I make maven run all tests regardless of earlier failures?

Edit
Report

1 Answer

120

I just found the -fae parameter, which causes Maven to run all tests and not stop on failure.

answered 2010-11-13T21:18:52.043

Your Answer