Self.use_instantiated_fixtures

Can this be controlled on a per TestCase basis, or is it only a global
setting?

David

From a 10 seconds glance at the code my guess would be that you can’t
set it to different values for each test very easily, but, you can
probably call instantiate_fixtures from inside a test to instantiate the
fixtures. Untested.

-Jonny.

David C. wrote:

Can this be controlled on a per TestCase basis, or is it only a global
setting?

David

It gets set in the Test::Unit::TestCase portion of the test_helper.rb
file, so apparently you should be able to do it on a per TestCase
basis.

The best way to find these things out is to give them a shot :slight_smile:

Pat