------ Inclusions and Exclusions of Tests ------ Allan Ramirez ------ July 2006 ------ Inclusions and Exclusions of Tests * Inclusions By default, the Failsafe Plugin will automatically include all test classes with the following wildcard patterns: * <"**/IT*.java"> - includes all of its subdirectory and all java filenames that start with "IT". * <"**/*IT.java"> - includes all of its subdirectory and all java filenames that end with "IT". * <"**/*ITCase.java"> - includes all of its subdirectory and all java filenames that end with "ITCase". [] If the test classes does not go with the naming convention, then configure Failsafe Plugin and specify the tests you want to include. +---+ [...] org.apache.maven.plugins maven-failsafe-plugin ${project.version} Sample.java integration-test integration-test integration-test verify verify verify [...] +---+ * Exclusions There are certain times when some tests are causing the build to fail. Excluding them is one of the best workarounds to continue the build. Exclusions can be done by configuring the <> property of the plugin. +---+ [...] org.apache.maven.plugins maven-failsafe-plugin ${project.version} **/CircleIT.java **/SquareIT.java integration-test integration-test verify verify [...] +---+