ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Hatton" <khat...@axiomsystems.com>
Subject RE: junit report should not split error and output stream
Date Wed, 23 Jul 2003 10:23:27 GMT
I'd be -1 about such a change. The JVM purposely distinguishes System.out from System.err.

But I agree that sometimes it is useful to force both to the same sink, in order to tally
up the output.

Perhaps in the setUp() of your unit test cases you could call
System.setErr(System.out) or something similar?

Hope this helps
Keith


-----Original Message-----
From: Michael Damberger [mailto:michael.damberger@t-online.de]
Sent: 23 July 2003 11:04
To: user@ant.apache.org
Subject: junit report should not split error and output stream


I use the ant junit and junitreport tasks and the XML formatter.

in the output xml file the error stream is separated from the output stream,
so that you cannot tell where an exception has occurred.

In my opinion this is very bad and should be changed - or
does any workaround exist?




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message