class Spectator::SourceExampleFilter
Overview
Filter that matches examples in a given file and line.
Defined in:
spectator/source_example_filter.crConstructors
-
.new(source : Source)
Creates the filter.
Instance Method Summary
-
#includes?(example) : Bool
Checks whether the example satisfies the filter.
Instance methods inherited from class Spectator::ExampleFilter
includes?(example : Example) : Bool
includes?
Instance methods inherited from class Object
should(matcher)
should,
should_eventually(matcher)
should_eventually,
should_never(matcher)
should_never,
should_not(matcher)
should_not
Constructor Detail
Creates the filter. The source indicates which file and line the example must be on.