Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-449

In multi-module projects, all tests are run for each module in the module tree

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.2
    • Labels:
      None
    • Environment:
      Maven 2.0.8, Linux
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      In a multi-module project, since version 2.4, all tests of all modules are run once for each module. This is very bad with many modules & many tests. Attached is a sample project which contains a parent module and two child modules. Each of the child modules contains one JUnit test. mvn clean site runs each test three times (once for the parent and once for each of the two submodules). When changing the surefire-report-plugin to version 2.3, each test is run only once, as it is supposed to

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Stefan Seidel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: