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

Unable to run single test (junit)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.16
    • Fix Version/s: 2.18
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      This is a regression from 2.15. It also looks like Surefire keeps regressing on this feature (e.g. see SUREFIRE-827) – are there no unit or integration tests to prevent such regressions?

      With Surefire 2.15

      $ mvn test -Dtest=MyTest#testFoo
      ...
      Results :
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
      

      With Surefire 2.16

      $ mvn test -Dtest=MyTest#testFoo
      Results :
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      

        Attachments

          Activity

            People

            • Assignee:
              tibordigana Tibor Digana
              Reporter:
              diwakergupta Diwaker Gupta
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: