You can do this by configuring the maven surefire plugin to exclude the test
in the normal test cycle and then add a configuration for it to run in the
integration test cycle. More details here:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
For your case you are probably interested in the exclusion piece:
<project>
[...]
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestCircle.java</exclude>
<exclude>**/TestSquare.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
[...]
</project>
Mike.
On 6/28/07, sarat.pediredla <[EMAIL PROTECTED]> wrote:
I am trying to exclude a specific test of sets from my default mvn test
run.
This is basically because I have integrated selenium into my appfuse
application and the tests are written in Java class files using the
selenium-maven-plugin. I only want these tests to run when I run
integration-test. How do I remove them from the normal test phase?
--
View this message in context:
http://www.nabble.com/Exclude-specific-test-tf3996815s2369.html#a11351008
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]