In Files

  • test-unit-3.3.4/lib/test-unit.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Object

Public Instance Methods

run_test() click to toggle source

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

 
               # File test-unit-3.3.4/lib/test-unit.rb, line 30
def run_test
  self.class.send(:undef_method, :run_test)
  require "test/unit"
end