Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
spectator
master
Object
Proc
Spectator
Anything
CommandLineArgumentsConfigSource
CompositeExampleFilter
Config
ConfigBuilder
ConfigSource
DSL
ErroredResult
Example
ExampleComponent
ExampleConditions
ExampleFailed
ExampleFilter
ExampleGroup
ExampleHooks
ExampleIterator
ExpectationFailed
Expectations
ExampleExpectations
Expectation
ExpectationPartial
ExpectationReporter
FailedResult
FinishedResult
Formatting
Color
DocumentFormatter
DotsFormatter
Formatter
JsonFormatter
JUnitFormatter
SilentFormatter
SuiteSummary
TAPFormatter
Harness
LabeledValue
LineExampleFilter
Matchers
AllMatcher
ArrayMatcher
AttributesMatcher
CaseMatcher
ChangeExactMatcher
ChangeFromMatcher
ChangeMatcher
ChangeRelativeMatcher
ChangeToMatcher
CollectionMatcher
ContainMatcher
EmptyMatcher
EndWithMatcher
EqualityMatcher
ExceptionMatcher
FailedMatchData
GreaterThanEqualMatcher
GreaterThanMatcher
HaveKeyMatcher
HaveMatcher
HavePredicateMatcher
HaveValueMatcher
InequalityMatcher
InstanceMatcher
LessThanEqualMatcher
LessThanMatcher
MatchData
Matcher
NilMatcher
PredicateMatcher
RangeMatcher
ReceiveMatcher
Range
ReceiveTypeMatcher
Range
ReferenceMatcher
RespondMatcher
SizeMatcher
SizeOfMatcher
StandardMatcher
StartWithMatcher
SuccessfulMatchData
TruthyMatcher
TypeMatcher
UnorderedArrayMatcher
ValueMatcher
Mocks
Allow
AllowAnyInstance
AnonymousDouble
AnonymousNullDouble
Arguments
Double
ExceptionMethodStub
ExpectAnyInstance
GenericArguments
GenericMethodStub
MethodCall
MethodStub
MultiValueMethodStub
NilMethodStub
OriginalMethodStub
ProcMethodStub
Reflection
Registry
Key
Stubs
TypeRegistry
Key
UnexpectedMessageError
ValueMethodStub
VerifyingDouble
NameExampleFilter
NestedExampleGroup
NullExampleFilter
PendingExample
PendingResult
Profile
Report
Result
RootExampleGroup
RunnableExample
Runner
Source
SourceExampleFilter
SpecBuilder
ExampleBuilder
FactoryMethod
ExampleGroupBuilder
Child
ExampleGroupStack
NestedExampleGroupBuilder
PendingExampleBuilder
RootExampleGroupBuilder
RunnableExampleBuilder
SampleExampleGroupBuilder
SuccessfulResult
TestBlock
TestContext
TestExpression
TestMetaMethod
TestMethod
TestSuite
TestValue
TestValues
TestWrapper
TypedValueWrapper
ValueWrapper
SpectatorTest
Built with Crystal 1.10.0
2023-12-04 15:08:28 UTC
class
Spectator::
SpecBuilder::
RunnableExampleBuilder
Spectator::SpecBuilder::RunnableExampleBuilder
Spectator::SpecBuilder::ExampleBuilder
Reference
Object
Defined in:
spectator/spec_builder/runnable_example_builder.cr
Instance Method Summary
#build
(group) : ExampleComponent
Instance methods inherited from class
Spectator::SpecBuilder::ExampleBuilder
build(group) : ExampleComponent
build
Constructor methods inherited from class
Spectator::SpecBuilder::ExampleBuilder
new(description : String | Nil, source : Source, builder : FactoryMethod, runner : TestMethod)
new
Instance methods inherited from class
Object
should(matcher)
should
,
should_eventually(matcher)
should_eventually
,
should_never(matcher)
should_never
,
should_not(matcher)
should_not
Instance Method Detail
def
build
(group) :
ExampleComponent
#
[
View source
]