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

Running tests in alphabetical order doesn't work with TestNG ('runOrder' setting isn't applied)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7, 2.8
    • 2.11
    • TestNG support
    • None

    Description

      The 'runOrder' setting doesn't seem to be working when running tests with TestNG. (At least when the TestNGDirectoryTestSuite is used.) TestNGProvider seems to have correctly initialized DirectyScanner but that isn't passed on when constructing the TestNGDirectoryTestSuite, which just creates a new DefaultDirectoryScanner in the constructor with "filesystem" as the runOrder.

      Attachments

        1. SUREFIRE-721.patch
          2 kB
          Sami Heikkinen

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              samiph Sami Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: