Test is a phase that:
The Maven lifecycle has four phases for running integration tests:
When running integration tests, you should invoke Maven with the (shorter to type too)
mvn verify
rather than trying to invoke the integration-test phase directly, as otherwise the post-integration-test phase will not be executed.
mvn install -DskipTests
To run the test you use a plugin:
The Failsafe Plugin generates reports in file (Txt and XML) By default, these files are generated at basedir/target/failsafe-reports. (where basedir is the project home)
The schema for the Surefire XML reports is available at Surefire XML Report Schema.
For an HTML format of the report, please see the Maven Surefire Report Plugin.
See Maven - test jar