module Spec2::DSL

Included Modules

Extended Modules

Direct including types

Defined in:

next/dsl.cr

Constant Summary

SPEC2_CONTEXT = ::Spec2::DSL::Spec2___
SPEC2_FULL_CONTEXT = ":root"

Macro Summary

Instance Method Summary

Instance methods inherited from module Spec2::Matchers

be(expected) be, be_close(expected, delta) be_close, be_false be_false, be_falsey be_falsey, be_nil be_nil, be_true be_true, be_truthy be_truthy, eq(expected) eq, match(expected) match

Macros inherited from module Spec2::Matchers

be_a(t) be_a, raise_error(klass = Exception, message = nil) raise_error

Macro Detail

macro __spec2_clear_specific_let(name) #

[View source]
macro __spec2_def_hooks #

[View source]
macro __spec2_def_it(what) #

[View source]
macro __spec2_def_its #

[View source]
macro __spec2_def_let(name) #

[View source]
macro __spec2_def_lets #

[View source]
macro __spec2_sanity_checks(name, full_name) #

[View source]
macro after(&blk) #

[View source]
macro before(&blk) #

[View source]
macro context(what, file = __FILE__, line = __LINE__, &blk) #

[View source]
macro delayed(&blk) #

[View source]
macro describe(what, file = __FILE__, line = __LINE__, &blk) #

[View source]
macro global_before(&blk) #

[View source]
macro it(what, &blk) #

[View source]
macro let(name, &blk) #

[View source]
macro let!(name, &blk) #

[View source]
macro pending(what, &blk) #

[View source]
macro subject(&blk) #

[View source]
macro subject(name, &blk) #

[View source]
macro subject!(&blk) #

[View source]
macro subject!(name, &blk) #

[View source]

Instance Method Detail

def expect(actual) #

[View source]
def expect(&block) #

[View source]