Showing Failure Tests

By default, the Surefire Report Plugin shows all test result status (success and failures) in the generated HTML. To be able to show the failures only, the property showSuccess should be set to false.


Then execute mvn site for the report generation.

It can also be set via commandline with the standalone goal.

  mvn surefire-report:report -DshowSuccess=false