You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Manmohan Veettil (JIRA)" <ji...@codehaus.org> on 2014/05/31 00:29:10 UTC

[jira] (SUREFIRE-987) Provide user property for suiteXmlFile so that it can be passed from Maven Command line

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

Manmohan Veettil updated SUREFIRE-987:
--------------------------------------

    Description: 
Can we have a way to run all the tests in a package? I know we can run all tests in a class using -Dit.test option.

OR

Can we define a user property for suiteXmlFiles or suiteXmlFile so that tests in multiple package can be run using maven fail-safe plugin.

mvn clean install -DsuiteXmlFile=test1.xml

Thanks,
manmohanpv

  was:
Can we have a way to run all the tests in a package? I know we can run all tests in a class using -Dit.test option.

OR

Can we define a user property for suiteXmlFiles or suiteXmlFile so that tests in multiple package can be run using maven fail-safe plugin.

mvn clean install –DsuiteXmlFiles=test1.xml,test2.xml
mvn clean install -DsuiteXmlFile=test1.xml

Thanks,
manmohanpv


> Provide user property for suiteXmlFile so that it can be passed from Maven Command line
> ---------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-987
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-987
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.12
>         Environment: Mac 10.8.2
>            Reporter: Manmohan Veettil
>
> Can we have a way to run all the tests in a package? I know we can run all tests in a class using -Dit.test option.
> OR
> Can we define a user property for suiteXmlFiles or suiteXmlFile so that tests in multiple package can be run using maven fail-safe plugin.
> mvn clean install -DsuiteXmlFile=test1.xml
> Thanks,
> manmohanpv



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