« Return to Thread: Any combo of TestNG/Surefire that works?

Re: Any combo of TestNG/Surefire that works?

by David Bernard-2 :: Rate this Message:

Reply to Author | View in Thread


In my case it work with :
* surefire 2.2
* testng-5.1-jdk15
* and testng.xml file where I define the suite (autodetection from
surefire doesn't work)

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <suiteXmlFiles>
            <suiteXmlFile>${basedir}/src/test/resources/testng.xml</
suiteXmlFile>
          </suiteXmlFiles>
        </configuration>
      </plugin>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Any combo of TestNG/Surefire that works?