Sha256: a4496365413df0ebef0bc6d72f35392a8ff25327ff18b1141db14610d9c626d9
Contents?: true
Size: 292 Bytes
Versions: 35
Compression:
Stored size: 292 Bytes
Contents
Dir.chdir(File.dirname(__FILE__)) do test_files = Dir['**/test_*.rb'] test_files = test_files.select { |f| f =~ Regexp.new(ENV['ONLY']) } if ENV['ONLY'] test_files = test_files.reject { |f| f =~ Regexp.new(ENV['EXCEPT']) } if ENV['EXCEPT'] test_files.each { |file| require(file) } end
Version data entries
35 entries across 35 versions & 7 rubygems