[ 
http://jira.codehaus.org/browse/SUREFIRE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121310
 ] 

Benjamin Bentmann commented on SUREFIRE-437:
--------------------------------------------

The example implemantion of TestNG's [ITestListener 
interface|http://testng.org/javadocs/org/testng/ITestListener.html] in the 
manual section about 
[Listeners|http://testng.org/doc/documentation-main.html#logging-listeners] is 
not as nice as a class-level summary but would serve its purpose to give live 
feedback. Additionally using {{ITestListener.onStart()}}, it might also be 
possible (for non-parallel tests) to output something like
{noformat}
Running MyFirstTestClass
.....S...
Running MySecondTestClass
....F.....
{noformat}

> Provide an option to log to the console on every test method
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-437
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-437
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: plugin
>            Reporter: Dan Fabulich
>
> We already log to the console whenever we regain control from the testing  
> framework; in JUnit directory suites, that's once per class, which is pretty 
> often, but if you use JUnit TestSuites or TestNG, we lose control at the 
> start of the run and don't get it back until the end of the run.
> We should provide an option to log to the console after every test case 
> method.  It should probably be off by default...?

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