You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erik Drolshammer <dr...@idi.ntnu.no> on 2007/11/13 15:02:27 UTC

Using maven and testng - collab workaround

Hi! 
I got maven to run with testng 5.5 by using
<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.4-collab-SNAPSHOT</version>
            </plugin>

and 

<dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>5.5</version>
            <scope>test</scope>
            <classifier>jdk15</classifier>
        </dependency>



However, I can't get the suiteXmlFile configuration option to work
properly. 

Can anyone point me to a testng.xml file that runs the same set of tests
as are run without any config? 

(I have searched the src for the surefire-plugin, but I couldn't find
the default testng.xml file.) 


Resources: 
http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html
http://docs.codehaus.org/pages/viewpage.action?pageId=62120
http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html

-- 
Regards
Erik Drolshammer 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using maven and testng - collab workaround

Posted by Erik Drolshammer <dr...@idi.ntnu.no>.
I reposted my question in a new thread. Search for subject "Testng with 
testng.xml config file".

-- 
Regards
Erik Drolshammer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org