Top Level Namespace

Defined Under Namespace

Modules: Test

Instance Method Summary collapse

Instance Method Details

#run_testObject

experimental. It is for “ruby -rtest-unit -e run_test test/test_*.rb”. Is this API OK or dirty?



13
14
15
16
# File 'lib/test-unit.rb', line 13

def run_test
  self.class.send(:undef_method, :run_test)
  require "test/unit"
end