Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
spec2
v0.13.0
Spec2
Context
DSL
HasActiveContext
Let
LetProtocol
Spec2___
ElapsedTime
Format2DigitNumber
InHours
InMilliseconds
InMinutes
InSeconds
Example
Expectation
ExpectationNotMet
ExpectationProtocol
Factory
GlobalDSL
HighRunner
Matcher
Matchers
Be
BeA
BeFalsey
BeRecorder
BeTruthy
Close
Eq
Match
Satisfy
Order
Factory
OrderIsNotConfigured
Orders
Default
Random
Output
Factory
OutputIsNotConfigured
Outputs
Default
Nocolor
Reporter
Factory
ReporterIsNotConfigured
Reporters
Default
Doc
SingletonTest
Test
TestEvent
Runner
Factory
RunnerIsNotConfigured
Runners
Default
Generated using Crystal 1.14.0
2024-11-26 10:41:47 UTC
class
Spec2::
Example
Spec2::Example
Reference
Object
Defined in:
next/example.cr
Constructors
.new
(context : Spec2::Context, what : String)
Instance Method Summary
#__spec2_clear_lets
#context
: Spec2::Context
#description
#pending?
#run
#what
: String
Constructor Detail
def self.
new
(context :
Spec2::Context
, what : String)
#
[
View source
]
Instance Method Detail
def
__spec2_clear_lets
#
[
View source
]
def
context
:
Spec2::Context
#
[
View source
]
def
description
#
[
View source
]
def
pending?
#
[
View source
]
def
run
#
[
View source
]
def
what
: String
#
[
View source
]