2008/9/24 Mick Knutson <[EMAIL PROTECTED]>: > What doe you mean *default location* ? Do you mean package names?
src/test/java which would be picked up by default - do your tests reside in there? ie, if you comment out all the below and run mvn test, do they run? - Brett > > > On Mon, Sep 22, 2008 at 7:59 PM, Brett Porter <[EMAIL PROTECTED]>wrote: > >> 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] >> >> > > > -- > --- > 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]
