They are probably in the default location so the default configuration
runs them in the test phase.

- Brett

2008/9/20 Mick Knutson <[EMAIL PROTECTED]>:
> 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
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to