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

Unable to run single test (junit)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.16
    • 2.18
    • Maven Surefire Plugin
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: