2 Feb 2005 19:32
Re: [groovy-dev] avoid println in tests ?
Could we maybe pipe the output of println to somewhere else, so you can see the test report with what worked/didn't and not have to wade through the output? On 2 Feb 2005, at 18:27, Dierk Koenig wrote: > Hiall, > > browsing through the current test suite and using the > test reports I noticed that there are numerous > println statements. > Those printlines make the reports more difficult to read > than they should be. > They also do not add much to the expressiveness of the > tests as they do not reveal what is expected. > > I'd like to propose the general rule to avoid > output to System.out in test cases. > > The current changes we need to apply to the > existing test suite may offer the opportunity > to get rid of this "test smell". > > Any comments? > > Mittie > > James ------- http://radio.weblogs.com/0112098/
RSS Feed