I know it is a hack, not a good design, etc, etc, but....

Couldn't the logger put some placeholder in for those attributes and
after the run is complete, go back and modify the log to place the
actual values overtop of the placeholders?

Ben

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 02, 2006 2:41 PM
To: Ant Users List
Subject: Re: How to filter out all exceptions from the JUnit task's test
failures

Burgess, Benjamin wrote:
> Not sure if it will help at all, but here is an Ant XML Logger which
> writes to the log as it goes along, rather than waiting for the build
to
> finish before writing the whole log to the file.
> 
> It won't help with the JUnit logger that is writing the JUnit log
files,
> but a similar approach could be taken with the test runner.
> 
>
http://confluence.public.thoughtworks.org/display/CC/AntDirectXmlLogger
> 

yes, that is what I do with my testrunner.

the problem with the ant one is that it sticks the test stats up as 
attributes on the root node of the XML file. Which it can only do if it 
knows the results, hence it has to wait for the end of the run.

the only way to do streaming test logging is to change the XML format, 
and <junitreport>. Or, by outputting XHTML, you get to bypass most of 
<junitreport>, except for the summary data creation

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**************************************************************
This message, including any attachments, contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, please contact sender immediately by reply 
e-mail and destroy all copies.  You are hereby notified that any disclosure, 
copying, or distribution of this message, or the taking of any action based on 
it, is strictly prohibited.
TIAA-CREF
**************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to