Thanks, that runs my tests. It a pity that I have to add all my packages to
my testng.xml file. Do you know a way to say: recursively from this one?

This is what I got now:

<suite name="All tests" verbose="1">
   <test name="All tests">
       <packages>
           <package name="net.sourceforge.vigilog"/>
           <package name="net.sourceforge.vigilog.parse"/>
           <package name="net.sourceforge.vigilog.models"/>
       </packages>
       <classes>
           <class name="
net.sourceforge.vigilog.parse.Log4jXMLFileLogFileParserTest">
               <methods>
                   <exclude name="testBigFileParsing"/>
               </methods>
           </class>
       </classes>
   </test>

regards,

Wim

2006/11/22, Marco Mistroni <[EMAIL PROTECTED]>:

Hello,
  try with this

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

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <suiteXmlFiles>
            <suiteXmlFile>src/test/resources/testing.xml</suiteXmlFile>
          </suiteXmlFiles>
        </configuration>
      </plugin>
    </plugins>
  </build>


hth
marco


Reply via email to