Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.8.1
-
None
-
None
Description
This is a clone of http://jira.opensymphony.com/browse/TESTNG-477 , which I'm pasting here:
"preserve-order" attribute is completely ignored with Surefire plugin 2.8.1 and TestNG 5.14.1.
It looks like the test classes are executed in some random order instead of the one specified in testng.xml.
This execution order is correct with Surefire plugin 2.5.
Here is the file:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Component Tests" verbose="2" annotations="JDK">
<test name="My Tests" preserve-order="true" >
<classes>
<class name="server.InstallTest" />
<class name="server.ATest" />
<class name="server.SCHTest" />
<class name="server.PRGTest" />
<class name="server.SIBBTest" />
<class name="server.EDNTest" />
<class name="server.PPVTest" />
</classes>
</test>
</suite>
Attachments
Issue Links
- is related to
-
SUREFIRE-721 Running tests in alphabetical order doesn't work with TestNG ('runOrder' setting isn't applied)
- Closed
- relates to
-
SUREFIRE-1044 Changed behaviour of TestNG test execution after implementing runOrder support
- Closed