Module rspec::block [] [src]

Blocks are used to build a tree structure of named tests and contextes.

Structs

Context

Test contexts are a convenient tool for adding structure and code sharing to a test suite.

Example

Test examples are the smallest unit of a testing framework, wrapping one or more assertions.

Suite

Test suites bundle a set of closely related test examples into a logical execution group.

Enums

Block

Blocks are used to build a tree structure of named tests and contextes.

Functions

describe

Alias for suite, see for more info.

given

Alias for suite, see for more info.

suite

Creates a test suite from a given root context.