Sha256: ef20661f4f5f38767c21faffee36c96809814f79c0a8187ad46f630c1f35353e
Contents?: true
Size: 392 Bytes
Versions: 99
Compression:
Stored size: 392 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'bundler/setup' root = File.expand_path('../..', __FILE__) TEST_ROOT = root + '/test' $LOAD_PATH.unshift(TEST_ROOT) def test_files Dir.glob(TEST_ROOT + "/**/*_test.rb") end if ARGV.empty? test_files.each { |f| require(f) } exit 0 end # A list of files is presumed to be specified ARGV.each do |a| require a.sub(%r{^test/}, '') end
Version data entries
99 entries across 99 versions & 3 rubygems