commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [exec] Use of System.out in unit tests
Date Thu, 03 Feb 2011 23:40:44 GMT
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.

> Gary Gregory
> Senior Software Engineer
> Rocket Software
> 3340 Peachtree Road, Suite 820 * Atlanta, GA 30326 * USA
> Tel: +1.404.760.1560
> Email: ggregory@seagullsoftware.com<mailto:ggregory@seagullsoftware.com>
> Web: seagull.rocketsoftware.com<http://www.seagull.rocketsoftware.com/>
>
>
>

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


Mime
View raw message