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)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.19
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tibordigana Tibor Digana
            paul Paul Hammant
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment