Hi again, 

any idea? 

how could I "preserve-order" of the <suiteXmlFile>(s) ?

Is it a workaround to have only one testng.xml, including some other *.xml 
files ?

Thanx, Torsten




[email protected] 
29.10.2010 11:51
Bitte antworten an
"Maven Users List" <[email protected]>


An
[email protected], [email protected]
Kopie

Thema
execution order of suiteXmlFiles






Hi, 

I configured the maven-surefire-plugin (version 2.6) like the following, 
using TestNG5.14:

<configuration>
        <suiteXmlFiles>
                <suiteXmlFile>01_setupsystem.xml</suiteXmlFile>
                <suiteXmlFile>02_basistests.xml</suiteXmlFile>
                <suiteXmlFile>03_Mandanten_parallel.xml</suiteXmlFile>
                <suiteXmlFile>04_Karten_parallel.xml</suiteXmlFile>
        </suiteXmlFiles>
</configuration>

When I mvn clean install this project, the execution order of my tests 
isn“t as expected, it starts with 02_basistests.xml.
The tests descriped in the suiteXmlFile itself could be executed in 
parallel (parallel=methods) - but the <suiteXmlFiles> should be executed 
in exactly the same order
as described in the pom.xml

Is there a way ?

Thanx, Torsten

Reply via email to