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

[jira] Created: (SUREFIRE-474) Allow TestNG to use its built-in HTMLReporter

Allow TestNG to use its built-in HTMLReporter
---------------------------------------------

                 Key: SUREFIRE-474
                 URL: http://jira.codehaus.org/browse/SUREFIRE-474
             Project: Maven Surefire
          Issue Type: Improvement
            Reporter: Dan Fabulich


TestNG has no way to generate reports from its own XML file after the fact.  (Seriously?  Seriously.)

http://groups.google.com/group/testng-users/browse_thread/thread/79cf66e72aa65255

So, in order to get HTML reports, you have to generate them at test time.  But we expose no convenient way for you to do that in Surefire.  (I think you can attach TestNG's HTMLReporter as a custom listener, but that's kinda tricky for what should be a simple problem.)

-- 
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] Updated: (SUREFIRE-474) Allow TestNG to use its built-in HTMLReporter

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

Dan Fabulich updated SUREFIRE-474:
----------------------------------

    Fix Version/s: 2.5

> Allow TestNG to use its built-in HTMLReporter
> ---------------------------------------------
>
>                 Key: SUREFIRE-474
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-474
>             Project: Maven Surefire
>          Issue Type: Improvement
>            Reporter: Dan Fabulich
>             Fix For: 2.5
>
>
> TestNG has no way to generate reports from its own XML file after the fact.  (Seriously?  Seriously.)
> http://groups.google.com/group/testng-users/browse_thread/thread/79cf66e72aa65255
> So, in order to get HTML reports, you have to generate them at test time.  But we expose no convenient way for you to do that in Surefire.  (I think you can attach TestNG's HTMLReporter as a custom listener, but that's kinda tricky for what should be a simple problem.)

-- 
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-474) Allow TestNG to use its built-in HTMLReporter

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

Dan Fabulich closed SUREFIRE-474.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.5)
                   2.4.3

Fixed revision 652745.  TestNG's reporter works only at test time, so we just enable the default HTML reports at runtime, but allow the user to manually disable them with the usedefaultlisteners option.  Special case for TestNG 4.7, which drops its default XML files in the surefire-reports directory inappropriately; in that case, usedefaultlisteners is false by default.

> Allow TestNG to use its built-in HTMLReporter
> ---------------------------------------------
>
>                 Key: SUREFIRE-474
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-474
>             Project: Maven Surefire
>          Issue Type: Improvement
>            Reporter: Dan Fabulich
>             Fix For: 2.4.3
>
>
> TestNG has no way to generate reports from its own XML file after the fact.  (Seriously?  Seriously.)
> http://groups.google.com/group/testng-users/browse_thread/thread/79cf66e72aa65255
> So, in order to get HTML reports, you have to generate them at test time.  But we expose no convenient way for you to do that in Surefire.  (I think you can attach TestNG's HTMLReporter as a custom listener, but that's kinda tricky for what should be a simple problem.)

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