Sha256: 176f25a17435110853a82eb36090fc4986c0f653804b6a48145cf7dc2e822e13
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
#!/usr/bin/env ruby # # Adds the project library directory # and this test directory to Ruby's # load path and runs the given tests. # # Usage: ruby test/runner [TESTS_TO_RUN] # # Where: TESTS_TO_RUN is a list of files # or file globbing patterns that # describe a set of files to run. # # If this parameter is not given, # all *_test.rb files within or # beneath this directory are run. lib_dir = File.expand_path('../../lib', __FILE__) test_dir = File.expand_path('..', __FILE__) $LOAD_PATH.unshift lib_dir, test_dir require 'rumai/inochi' require 'test_helper' ARGV << "#{test_dir}/**/*_test.rb" if ARGV.empty? ARGV.each {|glob| Dir[glob].each {|test| load test } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rumai-3.2.2 | test/runner |
rumai-3.2.1 | test/runner |