maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Orien Madgwick (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SUREFIRE-622) The TestNG command line option '-testrunfactory' should be supported.
Date Fri, 04 Jun 2010 22:12:12 GMT
The TestNG command line option '-testrunfactory' should be supported.
---------------------------------------------------------------------

                 Key: SUREFIRE-622
                 URL: http://jira.codehaus.org/browse/SUREFIRE-622
             Project: Maven Surefire
          Issue Type: Improvement
          Components: TestNG support
            Reporter: Orien Madgwick
         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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message