commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <>
Subject [exec] Use of System.out in unit tests
Date Thu, 03 Feb 2011 21:02:26 GMT
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?
Gary Gregory
Senior Software Engineer
Rocket Software
3340 Peachtree Road, Suite 820 * Atlanta, GA 30326 * USA
Tel: +1.404.760.1560

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message