Skip to content

Instantly share code, notes, and snippets.

@linnykoleh
Last active March 24, 2017 14:25
Show Gist options
  • Save linnykoleh/8edaa0902af059c53f13f6a3b6a1c58d to your computer and use it in GitHub Desktop.
Save linnykoleh/8edaa0902af059c53f13f6a3b6a1c58d to your computer and use it in GitHub Desktop.
How to run only particular tests with failsafe plugin. Only from `folder3`
<profiles>
<profile>
<id>my-tests</id>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/stories/folder1/**</exclude>
<exclude>**/stories/folder2/**</exclude>
<exclude>**/stories/folder4/**</exclude>
<exclude>**/stories/folder5/**</exclude>
<exclude>**/stories/folder6/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment