I have this declaration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>unit-tests</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>false</skip>
<testFailureIgnore>false</testFailureIgnore>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>integration-tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>false</skip>
<testFailureIgnore>true</testFailureIgnore>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/testng-functional.xml</suiteXmlFile>
</suiteXmlFiles>
<groups>suite-init,database,functional,selenium</groups>
<excludeGroups>unit</excludeGroups>
</configuration>
</execution>
</executions>
</plugin>
Now I even commented out the <phase>test</phase> to stop unit test from
running, but they run anyways. And because there is not a testng.xml for
that phase, the tests fail.
Can someone please help me get just my functional tests to run in the
<phase>integration-test</phase> ???
Your help is greatly appreciated!
--
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com