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



67
68
69
# File 'lib/test/unit/error.rb', line 67

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