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

Skipped tests (by annotation @EnabledIfEnvironmentVariable on the test class) are not reported

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-M4, 3.0.0-M5
    • Fix Version/s: 3.0.0-M6
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      I'm upgrading surefire plugin from 2.22.2 and there is a different behavior started from 3.0.0-M4.

      When the test class is ignored by using @EnabledIfEnvironmentVariable(...), final report shows bad information: (3.0.0.-M4, M5, master)

      [INFO] Results:
      [INFO]
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

      The same test executed with 3.0.0-M3 shows:

      [INFO] Results:
      [INFO]
      [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jondruse Jiri Ondrusek
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: