A
Alex Gutteridge
Hi,
I seem to be having a Friday afternoon brain-fade. I'm trying to get
setup.rb to run some TestCases, but nothing seems to work. I thought
that placing my tests in the 'test' directory was all that was
required but setup.rb never seems to find the tests. Can anyone see
what I'm doing wrong in this toy example?
/tmp(72): ls
setup.rb test
/tmp(73): ls test/
test.rb
/tmp(74): ruby setup.rb test
Running tests...
Loaded suite test
Started
Finished in 0.002258 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
/tmp(75): cd test/
/tmp/test(76): ruby test.rb
Loaded suite test
Started
Testing?
I seem to be having a Friday afternoon brain-fade. I'm trying to get
setup.rb to run some TestCases, but nothing seems to work. I thought
that placing my tests in the 'test' directory was all that was
required but setup.rb never seems to find the tests. Can anyone see
what I'm doing wrong in this toy example?
/tmp(72): ls
setup.rb test
/tmp(73): ls test/
test.rb
/tmp(74): ruby setup.rb test
Running tests...
Loaded suite test
Started
Finished in 0.002258 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
/tmp(75): cd test/
/tmp/test(76): ruby test.rb
Loaded suite test
Started
Testing?