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

surefire cannot run single testng test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.12
    • Fix Version/s: 2.12.1
    • Component/s: TestNG support
    • Labels:
      None
    • Environment:
      Windows 7 x64

      Description

      Trying to run single testng test class with command mvn test -Dtest=SomeTest fails with message
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project web-integration-tests: No tests were executed!
      (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1].

        Attachments

        1. onlyPassedTest.log
          91 kB
          Nikita Makarov
        2. onlyFailedTest.log
          86 kB
          Nikita Makarov
        3. surefire-847_example.zip
          3 kB
          Nikita Makarov

          Issue Links

            Activity

              People

              • Assignee:
                krosenvold Kristian Rosenvold
                Reporter:
                nikita.makarov Nikita Makarov
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: