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

-Dtest=SingleTest doesn't work in multi-project reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      Run -Dtest=SingleTest in a multi-project reactor, where SingleTest is a test that appears only in one of the child projects. The tests will fail because most of the child projects will have no tests, and -Dtest now fails the build if no tests are run.

      Need to add support for overriding this behavior by explicitly setting -DfailIfNoTests=false.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dfabulich Daniel Fabulich
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: