[
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)