[ 
https://jira.codehaus.org/browse/SUREFIRE-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Hammant updated SUREFIRE-1134:
-----------------------------------

    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:
{panel:title=Example mvn param}
-DtestListFile=testsToRun.txt
{panel}

Also for Failsafe:

{panel:title=Example mvn param}
-Dit.testListFile=testsToRun.txt
{panel}

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/



  was:
-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:

   -DtestListFile=testsToRun.txt

Also for Failsafe:

   -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/




> Take list of tests from file (-Dtest has upper limits for comma-separated 
> list of tests)
> ----------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1134
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1134
>             Project: Maven Surefire
>          Issue Type: New Feature
>            Reporter: Paul Hammant
>            Priority: Minor
>
> -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:
> {panel:title=Example mvn param}
> -DtestListFile=testsToRun.txt
> {panel}
> Also for Failsafe:
> {panel:title=Example mvn param}
> -Dit.testListFile=testsToRun.txt
> {panel}
> 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/



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to