Fork me on GitHub

Showing Only Failed Tests

By default, the Surefire Report Plugin shows the full test result (i.e., successes as well as 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 command line with the standalone goal:

  mvn surefire-report:report -DshowSuccess=false