Flowdock
method

run

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveSupport::Testing::SetupAndTeardown::ForMiniTest
run(runner) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/testing/setup_and_teardown.rb, line 32
        def run(runner)
          result = '.'
          begin
            run_callbacks :setup do
              result = super
            end
          rescue *PASSTHROUGH_EXCEPTIONS => e
            raise e
          rescue Exception => e
            result = runner.puke(self.class, method_name, e)
          ensure
            begin
              run_callbacks :teardown
            rescue *PASSTHROUGH_EXCEPTIONS => e
              raise e
            rescue Exception => e
              result = runner.puke(self.class, method_name, e)
            end
          end
          result
        end
Register or log in to add new notes.