From: Kouhei Sutou Date: 2011-07-28T23:26:13+09:00 Subject: Re: Test Unit setup teardown problem Hi, In "Test Unit setup teardown problem" on Thu, 28 Jul 2011 17:39:30 +0900, Gaurang Shah wrote: > I am using Test::Unit framework for website testing. It has setup and > teardown methods. The thing is it is called before and after each and > every test methods. > > is there any way we can call setup method before first test gets execute > and teardown method after last test executes rather than before and > after each and every test??? You can use startup and shutdown class methods for it: http://test-unit.rubyforge.org/test-unit/Test/Unit/TestCase.html Thanks, -- kou