module Spec
Defined in:
spec/dsl.crspec/context.cr
spec/expectations.cr
spec/formatter.cr
spec/junit_formatter.cr
spec/source.cr
Class Method Summary
- .add_formatter(formatter)
-
.after_each(&block)
Instructs the spec runner to execute the given block after each spec, regardless of where this method is invoked.
-
.before_each(&block)
Instructs the spec runner to execute the given block before each spec, regardless of where this method is invoked.
- .override_default_formatter(formatter)
Class Method Detail
def self.after_each(&block)
#
Instructs the spec runner to execute the given block after each spec, regardless of where this method is invoked.
def self.before_each(&block)
#
Instructs the spec runner to execute the given block before each spec, regardless of where this method is invoked.