Sha256: c3ed0574ac944519833511fc32698174518e4fefb313c43d77a7a68bfd810066

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 'dfect/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
dfect-2.1.0 test/runner
dfect-2.0.0 test/runner