TESTDIR = 'test'
runner = Test::Unit::AutoRunner.new(true)
runner.to_run << TESTDIR
runner.run
Will this try to run EVERY file in test/ dir as a test?
Thanks,
T.
TESTDIR = 'test'
runner = Test::Unit::AutoRunner.new(true)
runner.to_run << TESTDIR
runner.run
Will this try to run EVERY file in test/ dir as a test?
Thanks,
T.
No, it will require every file and then traverse the ObjectSpace for
TestCase classes. You can add filters and excludes to the AutoRunner
if there are certain things you definitely don't want to be required.
Ryan
On 10/23/05, Trans <transfire@gmail.com> wrote:
TESTDIR = 'test'
runner = Test::Unit::AutoRunner.new(true)
runner.to_run << TESTDIR
runner.runWill this try to run EVERY file in test/ dir as a test?
Ryan Leavengood wrote:
No, it will require every file and then traverse the ObjectSpace for
TestCase classes. You can add filters and excludes to the AutoRunner
if there are certain things you definitely don't want to be required.
Got it. Thanks.
T.