If your pom.xml includes the pom.xml plugin in its build configuration (see the Failsafe Usage Page ), then in Maven projects in IntelliJ, you should see [ProjectName] → Plugins → fail-safe → fail-safe: integration test . Double-click it to launch the integration-test target (pay attention to the target, not the phase) or right-click on it and click "Create ..." to add the IntelliJ launch configuration for the integration target.
source share