Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.8.1
-
Fix Version/s: None
-
Component/s: TestNG support
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
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>
Issue Links
- is related to
-
SUREFIRE-721
Running tests in alphabetical order doesn't work with TestNG ('runOrder' setting isn't applied)
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue is related to |