I''m having a real problem that appears to be caused by something in the
standard test_helper. I''ve written a script (below) that should find
and
load all the unit tests, and when invoked (ruby unitTestSuite), should run
all the tests in the unit_test directory. This actually works well, in
general.
The problem I have is that if the standard "test_helper.rb" file is
"required"
by the tests, then syntax errors in the tests are "eaten". There is
no trace
that there is a problem with the script. no exceptions, no failures, no
"red-bar". What is going on test_helper to cause this type of
problem?
Thanks
David
-----------snip---------------
def requireAllTests(pattern)
Dir.glob(pattern).each do |file|
$stderr.puts file
require file
end
end
requireAllTests("test/unit/**/*_test.rb")