You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/10/13 23:49:06 UTC
[jira] [Closed] (SUREFIRE-622) The TestNG command line option
'-testrunfactory' should be supported.
[ https://issues.apache.org/jira/browse/SUREFIRE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-622.
---------------------------------
Resolution: Fixed
commit 14ab8a3487110cac5df11991a08ee4982e556c34
> The TestNG command line option '-testrunfactory' should be supported.
> ---------------------------------------------------------------------
>
> Key: SUREFIRE-622
> URL: https://issues.apache.org/jira/browse/SUREFIRE-622
> Project: Maven Surefire
> Issue Type: Improvement
> Components: TestNG support
> Reporter: Orien Madgwick
> Assignee: Tibor Digana
> Fix For: 2.19
>
> Attachments: surefire_add_testng_testrunfactory_property_support.patch
>
>
> Version 5.9 of TestNG added the {{-testrunfactory}} command line option for registering a custom test runner factory. The Maven Surefire Plugin should support this option.
> Ideally, one should be able to specify the option in the Surefire configuration of their project's pom.xml file.
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <properties>
> <property>
> <name>testrunfactory</name>
> <value>org.example.CustomTestRunnerFactory</value>
> </property>
> </properties>
> </configuration>
> </plugin>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)