What is the use of Maven-Surefire plugin

prasannajit picture prasannajit · Oct 5, 2015 · Viewed 53.9k times · Source

What is the use of the Maven Surefire Plugin? I can not find a proper example.

Answer

Amey Jadiye picture Amey Jadiye · Oct 5, 2015

Better you start with https://maven.apache.org/surefire/maven-surefire-plugin/

In short link says:

The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application. It generates reports in two different file formats Plain text files (.txt) XML files (.xml)