module Spectator::DSL

Overview

Namespace containing methods representing the spec domain specific language.

Note: Documentation inside macros is kept to a minimum to reduce generated code. This also helps keep error traces small. Documentation only useful for debugging is included in generated code.

Defined in:

spectator/dsl.cr
spectator/dsl/builder.cr
spectator/dsl/concise.cr
spectator/dsl/examples.cr
spectator/dsl/expectations.cr
spectator/dsl/groups.cr
spectator/dsl/hooks.cr
spectator/dsl/matchers.cr
spectator/dsl/memoize.cr
spectator/dsl/metadata.cr
spectator/dsl/mocks.cr
spectator/dsl/reserved.cr
spectator/dsl/top.cr

Constant Summary

RESERVED_KEYWORDS = [:initialize, :finalize, :class, :allocate] of ::Symbol

Keywords that cannot be used in specs using the DSL. These are either problematic or reserved for internal use.