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

surefire-reports folder missing when there are no unit tests

    XMLWordPrintableJSON

Details

    Description

      When using the maven plugin (maven-surefire-plugin) on version 2.12 the "surefire-reports" folder gets created whether or not they have unit tests. When using 2.14.4 the folder doesn't get created unless there are unit tests.

      maven-surefire-plugin:2.12:
      [INFO] — maven-surefire-plugin:2.12:test (default-test) @ xxx —
      [INFO] No tests to run.
      [INFO] Surefire report directory: e:\...\target\surefire-reports
      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Results :
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

      maven-surefire-plugin:2.12.4:
      [INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ xxx —
      [INFO] No tests to run.

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            rhilton1 Rebecca Hilton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: