Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-721

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7, 2.8
    • Fix Version/s: 2.11
    • Component/s: TestNG support
    • Labels:
      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.

      1. SUREFIRE-721.patch
        2 kB
        Sami Heikkinen

        Issue Links

          Activity

            People

            • Assignee:
              Kristian Rosenvold
              Reporter:
              Sami Heikkinen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development