Sha256: e92ae6bf6cfb96a8105157df5beeb4c50b7c51823a232027d620f8d794c1b949
Contents?: true
Size: 371 Bytes
Versions: 6
Compression:
Stored size: 371 Bytes
Contents
#!/usr/bin/env ratch # Run unit tests live = ARGV.delete('--live') unless live $LOAD_PATH.unshift(File.expand_path('lib')) end main :test do if find = argv[0] unless file?(find) find = File.join(find, '**', 'test_*.rb') end else find = 'test/**/test_*.rb' end Dir.glob(find).each do |file| next if dir?(file) load file end end
Version data entries
6 entries across 6 versions & 2 rubygems
Version | Path |
---|---|
stick-1.3.3 | task/test |
stick-1.3.0 | task/test |
stick-1.2.0 | task/test |
stick-1.3.2 | task/test |
stick-1.3.1 | task/test |
tmail-1.1.1 | bat/test |