Skip to content

Instantly share code, notes, and snippets.

@kewne
Created February 16, 2017 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kewne/2b909ab5e8035a4e44e406fa35e3276c to your computer and use it in GitHub Desktop.
Save kewne/2b909ab5e8035a4e44e406fa35e3276c to your computer and use it in GitHub Desktop.
Surefire executions
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<executions>
<execution>
<id>unit-tests</id>
<configuration>
<groups>com.mycompany.UnitTest</groups>
</configuration>
</execution>
<execution>
<id>integration-tests</id>
<configuration>
<groups>com.mycompany.IntegrationTest</groups>
</configuration>
</execution>
<execution>
<id>functional-tests</id>
<configuration>
<groups>com.mycompany.FunctionalTest</groups>
</configuration>
</execution>
<executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment