I would assume the code/config would be somewhere under:
http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/

Or possibly:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/

I would assume the default configuration is not stored in an actual
testng.xml file but instead coded in the plugin code, and then the
configuration is passed into the TestNG runner when it is executed.

Wayne

On 11/13/07, Erik Drolshammer <[EMAIL PROTECTED]> wrote:
> 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]
>
>

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

Reply via email to