In addition to unit tests, Maven also allows you to automate the running of your integration tests. While unit tests are run during the
test phase of the build lifecycle, integration tests are run during the
verify phase. The Maven Failsafe plugin is used to run integration tests.
To run integration tests using Maven Failsafe plugin, perform the following steps:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.18</version> <executions> <execution> <id>integration-tests</id> <goals> ...