Sha256: bf76a293d2acefa35f478642d5f967584aa48a78d697332047849a7c55fd9493
Contents?: true
Size: 799 Bytes
Versions: 8
Compression:
Stored size: 799 Bytes
Contents
#!/usr/bin/env ruby require 'simplecov' require 'minitest/autorun' require 'minitest/reporters' SimpleCov.start do add_filter 'test' end require 'rubygems' require_relative '../lib/tools' Dir['./lib/lib/*.rb'].sort.each { |f| require f } # Dir['./bin/*'].sort.each { |f| require f } Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new here = __dir__ mini_tests = Dir["#{here}/mini*.rb"] if !ARGV.empty? files = [] ARGV.each do |arq| file = "#{here}/mini_#{arq}.rb" if mini_tests.include? file files << file else puts "Leave this parameter: File not found -> #{file}".light_red end end files.each do |file| require file puts file end else Dir["#{here}/mini*.rb"].each do |file| require file puts file end end exit
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
tools-0.5.4 | test/run |
tools-0.5.3 | test/run |
tools-0.5.1 | test/run |
tools-0.5.0 | test/run |
tools-0.4.9 | test/run |
tools-0.4.8 | test/run |
tools-0.4.7 | test/run |
tools-0.4.6 | test/run |