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

surefire cannot run single testng test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.12
    • 2.12.1
    • TestNG support
    • None
    • 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. surefire-847_example.zip
          3 kB
          Nikita Makarov
        2. onlyFailedTest.log
          86 kB
          Nikita Makarov
        3. onlyPassedTest.log
          91 kB
          Nikita Makarov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: