Rake's Test/Unit runner be damned

This commit is contained in:
Alexey Verkhovsky 2005-01-23 00:48:00 +00:00
parent 295e41c245
commit 0d81292168
2 changed files with 17 additions and 9 deletions

9
test/all_tests.rb Normal file
View file

@ -0,0 +1,9 @@
require 'test_helper'
require 'find'
test_root = File.dirname(__FILE__)
Find.find(test_root) { |path|
if File.file?(path) and path =~ /.*_test\.rb$/
require path[(test_root.size + 1)..-4]
end
}