Sha256: 2acea6110364f714a0cbde2aa217fd8d070dfb7a7760347a247de4c43e1f7771
Contents?: true
Size: 404 Bytes
Versions: 6
Compression:
Stored size: 404 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'bundler/setup' root = File.expand_path('../..', __FILE__) CLI_TEST_ROOT = root + '/test' $LOAD_PATH.unshift(CLI_TEST_ROOT) def test_files Dir.glob(CLI_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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
cli-kit-3.3.0 | bin/testunit |
cli-kit-3.1.0 | bin/testunit |
cli-kit-3.0.1 | bin/testunit |
cli-kit-3.0.0 | bin/testunit |
cli-kit-3.0.0.pre | bin/testunit |
cli-kit-1.0.0 | bin/testunit |