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



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

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