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

Take list of tests from file (-Dtest has upper limits for comma-separated list of tests)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19
    • Component/s: None
    • Labels:
      None

      Description

      -Dtest=TestOne,foo.BarTest is the way to go for constraining surefire to a list of tests. There are upper limits to that in the context of command line arguments.

      Could we additionally have:

      Example mvn param

      -DtestListFile=testsToRun.txt

      Also for Failsafe:

      Example mvn param

      -Dit.testListFile=testsToRun.txt

      Yes, I'd be rewriting testsToRun.txt for my use case, just before invoking Maven.

      Refer http://paulhammant.com/2015/01/11/reducing-test-times-by-only-running-impacted-tests/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                paul Paul Hammant
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: