Hi!
(This is a repost of a previous response to an old thread.)
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? (Or any working testng.xml file that is
not completely trivial?)
(I have searched the src for the surefire-plugin, but I couldn't find
the default testng.xml file.)
Context:
We have a lot of junit3 tests that we want to reuse. We want to follow
maven's recommended directory structure as much as possible. And we want
the grouping that testng provides to make it easier to run different
sets of tests in different environments.
I have looked at the following resources:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html
http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html
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>
--
Regards
Erik Drolshammer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]