damn you autocorrect.... use failsafe not failure! what an epic #fail - Stephen
--- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 22 Nov 2011 18:58, "Stephen Connolly" <stephen.alan.conno...@gmail.com> wrote: > i suggest your life will be easier if you use failure to run the > integration tests... > > easier still if all your integration tests end with IT instead of Test > > - Stephen > > --- > Sent from my Android phone, so random spelling mistakes, random nonsense > words and other nonsense are a direct result of using swype to type on the > screen > On 22 Nov 2011 17:21, "laredotornado-3" <laredotorn...@gmail.com> wrote: > >> Hi, >> >> I'm using Maven 3.0.3. Is it possible to exclude some tests to be run >> during the regular test phase and instead have those tests run during the >> integration-test phase? I have the below surefire configuration in my >> pom.xml ... >> >> <plugin> >> >> <artifactId>maven-surefire-plugin</artifactId> >> <version>2.6</version> >> <configuration> >> <additionalClasspathElements> >> >> >> <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement> >> >> >> <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement> >> </additionalClasspathElements> >> >> <useManifestOnlyJar>false</useManifestOnlyJar> >> <forkMode>always</forkMode> >> <systemProperties> >> <property> >> >> <name>gwt.args</name> >> <value>-out >> \${webAppDirectory}</value> >> </property> >> </systemProperties> >> <excludes> >> >> <exclude>**/*IntegrationTest*.java</exclude> >> </excludes> >> </configuration> >> <executions> >> <execution> >> >> <phase>integration-test</phase> >> <goals> >> <goal>test</goal> >> </goals> >> <configuration> >> <skip>false</skip> >> <includes> >> >> <include>**/*IntegrationTest*.java</include> >> </includes> >> </configuration> >> </execution> >> </executions> >> </plugin> >> >> Although I'm able to successfully exclude files with "IntegrationTest" in >> their name during the test phase, nothing is executed during the >> integration-test phase. Any ideas what I'm doing wrong or what is >> misconfigured? >> >> Thanks, - Dave >> >> -- >> View this message in context: >> http://maven.40175.n5.nabble.com/How-do-I-configure-only-certain-tests-to-run-during-my-integration-test-phase-tp5014134p5014134.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >>