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 2 different file formats:
Goal
Using JUnit
Configuring JUnit
To get started with JUnit, you need to add the required version of JUnit to your project: