You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nicolas Santini (JIRA)" <ji...@codehaus.org> on 2008/04/29 18:16:46 UTC

[jira] Created: (SUREFIRE-494) Add support to set listener to testNG runner

Add support to set listener to testNG runner
--------------------------------------------

                 Key: SUREFIRE-494
                 URL: http://jira.codehaus.org/browse/SUREFIRE-494
             Project: Maven Surefire
          Issue Type: New Feature
          Components: TestNG support
    Affects Versions: 2.4.2
         Environment: Continuous integration using maven.
            Reporter: Nicolas Santini
         Attachments: SurefirePlugin.diff

Add a "listener" property to the class org.apache.maven.plugin.surefire.SurefirePlugin to support adding custom/propietary listeners through pom configuration.
We've created a patch for this, please evaluate it. In this solution we added a new private field called "listener" and an if clause in the "convertTestNGParameters" method to set it to the TestNG artifact properties.

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

        

[jira] Closed: (SUREFIRE-494) Add support to set listener to testNG runner

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-494.
---------------------------------

    Resolution: Not A Bug

Surefire already supports configuring custom listeners/reporters.  Unfortunately, our documentation isn't very clear on this point; I've field SUREFIRE-488 to update our documentation so other people will know how to do this in the future.  Sorry! :-(

> Add support to set listener to testNG runner
> --------------------------------------------
>
>                 Key: SUREFIRE-494
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-494
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: TestNG support
>    Affects Versions: 2.4.2
>         Environment: Continuous integration using maven.
>            Reporter: Nicolas Santini
>         Attachments: SurefirePlugin.diff
>
>
> Add a "listener" property to the class org.apache.maven.plugin.surefire.SurefirePlugin to support adding custom/propietary listeners through pom configuration.
> We've created a patch for this, please evaluate it. In this solution we added a new private field called "listener" and an if clause in the "convertTestNGParameters" method to set it to the TestNG artifact properties.

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