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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4
    • 2.4.2
    • None
    • Maven 2.0.8, Linux

    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

      Attachments

        1. mvnexec.zip
          3 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              seidler Stefan Seidel
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: