On Wed, Jun 25, 2003 at 02:21:49AM +0900, Gennady wrote:
> I recently upgraded my testunit package from 0.1.6 to 0.1.8. Besides renaming set_up to setup and tear_down to teardown (I new that I would have to do it) I found another problem, or nuisance, rather: 
> 
> When outputting a single '.' to stdout on a test completion (before it was to stderr, I guess), stdout is not flushed. So you actually see results only after all tests are done. If a test takes some time to finish, you do not see any output for a while, and then a burst of dots are dumped on you.
> 
> I fixed it on my system in "test/unit/ui/console/testrunner.rb" by adding @io.flush after @io.write in "output_single" method, however it would be nice to have it fixed it the RAA distribution of testunit.

You could try calling 'STDOUT.sync' in your setup() method?

Regards,

Brian.