# File test/unit/testcase.rb, line 55 def run(result) @_result = result begin set_up send(@method_name) rescue AssertionFailedError => e add_failure(e.message, e.backtrace) rescue StandardError, ScriptError add_error($!) ensure begin tear_down rescue AssertionFailedError => e add_failure(e.message, e.backtrace) rescue StandardError, ScriptError add_error($!) end end result.add_run() end