Can this be controlled on a per TestCase basis, or is it only a global
setting?
David
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
Pat
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs