module ActiveSupport::Testing::SetupAndTeardown::ClassMethods

def setup(*args, &block)

Add a callback, which runs before TestCase#setup.
def setup(*args, &block)
  set_callback(:setup, :before, *args, &block)
end

def teardown(*args, &block)

Add a callback, which runs after TestCase#teardown.
def teardown(*args, &block)
  set_callback(:teardown, :after, *args, &block)
end