The Surefire Maven Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application. It is commonly used in continuous integration.
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)
By default, these files are generated at ${basedir}/target/surefire-reports
.
The Surefire Plugin has only one goal:
surefire:test
runs the unit tests of an application.
Related tags :