Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 224 Bytes
# Runs all tests.
$LOAD_PATH.unshift "lib"
test_dir = File.split(Dir.pwd).last == "test" ? "." : "test"
tests = Dir["#{test_dir}/**/*.rb"].reject { |file| file == "tc_all.rb" }
tests.each { |test| require test }