From: Jano Svitok Date: 2007-07-20T07:26:51+09:00 Subject: Re: re-run unit test-suite On 7/19/07, aidy.lewis@googlemail.com wrote: > > I wonder why do you use Test::Unit, when you barely use its features > > (by that I mean especially no asserts in the code). If it is indeed > > the case (no hidden asserts somewhere in the unpublished code), it > > might be easier to run your cases by your code. > > I just wanted to use the setup and teardown methods but maybe I am > forcing a solution that doesn't fit my problem. Maybe you could use test/unit more - instead of @@log.test_results(common.verify_text(@@test.case_1[:text_to_verify]), 'wrong message appeared') just write assert_equal(@@test.case_1[:text_to_verify], text_you_got) and let test/unit handle the rest for you, provided that you can fix the problem with the data. J.