D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby19
/
bin
/
Filename :
testrb
back
Copy
#!/opt/alt/ruby19/bin/ruby require 'test/unit' tests = Test::Unit::AutoRunner.new(true) tests.options.banner.sub!(/\[options\]/, '\& tests...') unless tests.process_args(ARGV) abort tests.options.banner end files = tests.to_run $0 = files.size == 1 ? File.basename(files[0]) : files.to_s exit tests.run