You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cedric Beust (JIRA)" <ji...@codehaus.org> on 2011/05/12 22:55:22 UTC

[jira] Created: (SUREFIRE-739) preserve-order attribute is ignored with Surefire plugin 2.8.1

preserve-order attribute is ignored with Surefire plugin 2.8.1
--------------------------------------------------------------

                 Key: SUREFIRE-739
                 URL: http://jira.codehaus.org/browse/SUREFIRE-739
             Project: Maven Surefire
          Issue Type: Bug
          Components: TestNG support
    Affects Versions: 2.8.1
            Reporter: Cedric Beust


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> 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira