Method: Module#etest

Defined in:
lib/module_ext.rb

#etest(*args) ⇒ Object

reloads the module, and runs the module’s etests.



15
16
17
18
19
20
# File 'lib/module_ext.rb', line 15

def etest(*args)
  etests = const_get("Etest")
  modules = [ self, etests ]
  Reloader.reload *modules
  ::EtestUnit.run etests, *args
end