Library providing tools for writing and running RSpec tests.
Methods for encapsulating shared example groups to include contexts or examples without affecting the surrounding context.
#fwrap_examples name, *args, **kwargs, &block => Object
Also known as:
fwrap_context
Includes the specified shared example group and wraps it inside a
focused fdescribe
block. If a block is provided, it is evaluated in the
context of the fdescribe block after the example group has been included.
fdescribe
block, such as additional examples or memoized values.#wrap_examples name, *args, **kwargs, &block => Object
Also known as:
wrap_context
Includes the specified shared example group and wraps it inside a
describe
block. If a block is provided, it is evaluated in the
context of the describe block after the example group has been included.
describe
block, such as additional examples or memoized values.#xwrap_examples name, *args, **kwargs, &block => Object
Also known as:
xwrap_context
Includes the specified shared example group and wraps it inside a
skipped xdescribe
block. If a block is provided, it is evaluated in the
context of the xdescribe block after the example group has been included.
Mostly used to temporarily disable a wrapped example group while updating
or debugging a spec.
fdescribe
block, such as additional examples or memoized values.Back to Documentation | Versions | 2.8 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Concerns