[ 
https://jira.codehaus.org/browse/SUREFIRE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355968#comment-355968
 ] 

Karl M. Davis commented on SUREFIRE-437:
----------------------------------------

I'm bumping into this today myself, on some JUnit tests that are parameterized. 
I'm actually surprised I haven't noticed before that Surefire/Failsafe aren't 
logging at the start of each test case-- I'd thought it did. Makes it very hard 
to correlate log output with test cases, short of adding 
{{LOGGER.info("Starting test case foo.");}}

> Provide an option to log to the console on every test method
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-437
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-437
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>            Reporter: Dan Fabulich
>             Fix For: Backlog
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to