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

Test groups not working for testng in combination with JUnit5

    XMLWordPrintableJSON

Details

    Description

      Started with this example:

      maven-surefire\surefire-its\src\test\resources\junit5-testng

      Added both test to group "aa" (testng) / Tag "aa" (Junit5)

      mvn test runs both tests

      mvn test -Dgroups=aa runs only Junit5 test.

       

      Looks like groups don't work at all for testng in this configuration.

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              pryb Pavel Rybnicek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: