From: "Brian Schröder" Date: 2004-11-16T03:25:15+09:00 Subject: Re: Starter question on Test::Unit On Tue, 16 Nov 2004 03:10:28 +0900 Mohammad Khan wrote: > [] > > close, but no cigar Ok, I should test before I post ;). You can always use this: require 'test/unit' class TestClass < Test::Unit::TestCase puts "in setup" @@foo = Array.new def test_run assert_equal(@@foo, []) end def test_rerun assert_equal(@@foo, []) end def test_rererun assert_equal(@@foo, []) end end $ ruby a.rb in setup Loaded suite a Started ... Finished in 0.002371 seconds. 3 tests, 3 assertions, 0 failures, 0 errors Regards, Brian -- Brian Schr�der http://www.brian-schroeder.de/