I'm trying to get my harness to read in tests from a
list…$LOAD_PATH '..\Tests\\'
class TestSuite Test::Unit::TestCase testlist = File.open('testlist.txt')
testlist.each_line{ |line| load line }what I find happens is that it fails to iterate through
tests. How do I let the
Id like to structure my test harness to use main
directory containing the harness and any libraries I write and to keep my tests
in a subdirectory Tests
Ive been trying to get the following to run
class TestSuite Test::Unit::TestCase
def test_centralvision
load
Just un-jammed my brain, a cup of tea helps.
I changed my harness to use a relative load path for the
\Tests\ directory.
Can get on with the real stuff now!
Max
Russell
test
Analyst.
InPS
Tel:
01382 223900
Fax:01382
204488
Visit our Web site at www.inps.co.uk
The