Sha256: 7e7e1822df86c44269857c079aa4b83949ec801647104455546b3e1ed5a78833
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'bundler/setup' root = File.expand_path('../..', __FILE__) DEV_TEST_ROOT = root + '/test' $LOAD_PATH.unshift(DEV_TEST_ROOT) def test_files Dir.glob(DEV_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dev-kit-0.1.1 | bin/testunit |
dev-kit-0.1.0 | bin/testunit |