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

JUnit and TestNG clash with each other

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.3
    • None
    • classloading
    • None
    • Windows XP sp2, Maven 2.0.9, JUnit 4.x, TestNG 5.x

    Description

      I have a simple maven project with JUnit and TestNG as dependencies.

      I only have JUnit tests using the @Test annotation.

      But if TestNG is on the classpath the test class is picked up by surefire, but the Test annotation is ignored.

      I have not included a test, but a simple demo maven app.

      Attachments

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              dominic Dominic
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: