commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@scalaris.com>
Subject Re: [exec] Use of System.out in unit tests
Date Fri, 04 Feb 2011 07:34:34 GMT
sebb wrote:

> On 3 February 2011 21:02, Gary Gregory <GGregory@seagullsoftware.com>
> wrote:
>> Hi All,
>>
>> I see a lot of noise on the console when running [exec] unit tests (from
>> Maven, Eclipse, and so on.)
>>
>> I would like to remove calls to System.out from the unit tests.
>>
>> IMO, unit tests should assert all they need and put any error information
>> in assert messages, not the console. Thoughts?
> 
> +1 to removing any console output that does not add anything useful.

Definitely +1

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message