1 2 3 4 5 6 7 8 9
require 'test/unit' if $0 == __FILE__ # exit Test::Unit::AutoRunner.run(false, File.dirname($0)) Dir.glob(File.dirname($0) + '/test_*'){|file| require file } end