From: Damphyr Date: 2005-10-07T17:02:45+09:00 Subject: Re: Manipulate output from test/unit methods? Eric Hodel wrote: > On Oct 6, 2005, at 11:56 AM, Chris McMahon wrote: > >> When you use any of the test/unit methods, like "assert_equal", you >> always get a nice output message like >> >> 1 tests, 2 assertions, 0 failures, 0 errors --- > > Well... What are you trying to accomplish? ZenTest's unit_diff works > with output messages as a filter, so you just have to pipe your > test/ unit output through it. > Well this is a related question on the output of unit tests: Is there a way to suppress everything except the result of the tests? I have lots of negative tests (where the error handling of my apps is checked) and would like to shut off the exceptions and their messages on a succesful negative test (this makes the logs of automated test runs a lot lighter). Cheers, V.- -- http://www.braveworld.net/riva ____________________________________________________________________ http://www.freemail.gr - ������ �������� ������������ ������������. http://www.freemail.gr - free email service for the Greek-speaking.