RSpec

Library providing tools for writing and running RSpec tests.

Module: RSpec::SleepingKingStudios::Deferred::Consumer::ClassMethods

Parent Namespace
RSpec::SleepingKingStudios::Deferred::Consumer
Defined In
lib/rspec/sleeping_king_studios/deferred/consumer.rb

Table Of Contents

Overview

Class methods for registering deferred examples.

Back To Top

Instance Methods

#finclude_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples inside a focused example group.

Parameters

#fwrap_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples inside a focused example group.

Unlike #include_deferred, a block parameter will be included in the created example group, not passed to the deferred examples. To wrap deferred examples that require a block, create the example group separately and call #include_deferred.

Parameters

#include_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples with the given definition.

Parameters

#wrap_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples inside an example group.

Unlike #include_deferred, a block parameter will be included in the created example group, not passed to the deferred examples. To wrap deferred examples that require a block, create the example group separately and call #include_deferred.

Parameters

#xinclude_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples inside a skipped example group.

Parameters

#xwrap_deferred(description, *arguments, **keywords, &block) => Object

Includes the deferred examples inside a skipped example group.

Unlike #include_deferred, a block parameter will be included in the created example group, not passed to the deferred examples. To wrap deferred examples that require a block, create the example group separately and call #include_deferred.

Parameters

Back To Top


Back to Documentation | Versions | 2.8 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Deferred | RSpec::SleepingKingStudios::Deferred::Consumer