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

Tests not being run when using XML suite file with TestNG

    Details

      Description

      When upgrading the surefire version to 2.19.1 I noticed that no tests were being run in our integration tests. I managed to track down the error to this commit and line:

      https://github.com/apache/maven-surefire/commit/9cefb7ba43b2550f3ede2952b47d079463c33328#diff-c4dee638bf96f8b3e7763d2652aab7efR207

      As you can see, no test suites is being returned when an XML test suite is used.

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1621 (See https://builds.apache.org/job/maven-surefire/1621/)
        SUREFIRE-1252 Tests not being run when using XML suite file with (tibor17: rev d60225741a8d65d9109d3bd28d3d019c19f120cb)

        • (edit) surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGProvider.java
        • (edit) surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1621 (See https://builds.apache.org/job/maven-surefire/1621/ ) SUREFIRE-1252 Tests not being run when using XML suite file with (tibor17: rev d60225741a8d65d9109d3bd28d3d019c19f120cb) (edit) surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGProvider.java (edit) surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java
        Hide
        tibor17 Tibor Digana added a comment -

        commit d60225741a8d65d9109d3bd28d3d019c19f120cb

        Show
        tibor17 Tibor Digana added a comment - commit d60225741a8d65d9109d3bd28d3d019c19f120cb

          People

          • Assignee:
            tibor17 Tibor Digana
            Reporter:
            SAndersson Samuel Andersson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development