Module: Test::Unit::ErrorHandler

Included in:
TestCase
Defined in:
lib/test/unit/error.rb

Constant Summary collapse

NOT_PASS_THROUGH_EXCEPTIONS =
[]
PASS_THROUGH_EXCEPTIONS =
[NoMemoryError, SignalException, Interrupt,
SystemExit]

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



71
72
73
# File 'lib/test/unit/error.rb', line 71

def included(base)
  base.exception_handler(:handle_all_exception)
end