abstract class Spectator::ExampleFilter
- Spectator::ExampleFilter
- Reference
- Object
Overview
Base class for all example filters.
Checks whether an example should be run.
Sub-classes must implement the #includes?
method.
Direct Known Subclasses
- Spectator::CompositeExampleFilter
- Spectator::LineExampleFilter
- Spectator::NameExampleFilter
- Spectator::NullExampleFilter
- Spectator::SourceExampleFilter
Defined in:
spectator/example_filter.crInstance Method Summary
-
#includes?(example : Example) : Bool
Checks if an example is in the filter, and should be run.
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
Checks if an example is in the filter, and should be run.