Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-739

preserve-order attribute is ignored with Surefire plugin 2.8.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.8.1
    • None
    • TestNG support
    • 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

          Activity

            People

              tibordigana Tibor Digana
              cbeust Cedric Beust
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: