From: Ryan Davis Date: 2013-04-09T19:08:02+09:00 Subject: Re: Accessing global variable in Unit Tests On Apr 9, 2013, at 01:48 , Robert Klemme wrote: > > > > On Tue, Apr 9, 2013 at 10:13 AM, T- Di wrote: > My understanding was that the new test-unit uses the startup > initialization and shutdown methods. > > I don't think so. Also, the "new" test-unit seems tobe the old Test::Unit refurbished and Ruby 1.9* now comes with minitest: > http://rubygems.org/gems/test-unit > http://rubydoc.info/gems/test-unit/2.5.4/frames > > I used the standard Test::Unit (minitest) and it worked with #setup and #teardown as indicated above. 1.9+ ships with both minitest and a test/unit shim on top of minitest. They're (very much) not the same tho.