Displaying 1 result from an estimated 1 matches for "requirealltests".
2005 Jun 11
0
require problem
...;
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")