[ 
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

        

Reply via email to