abstract class Spectator::ExampleFilter

Overview

Base class for all example filters. Checks whether an example should be run. Sub-classes must implement the #includes? method.

Direct Known Subclasses

Defined in:

spectator/example_filter.cr

Instance Method Summary

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

abstract def includes?(example : Example) : Bool #

Checks if an example is in the filter, and should be run.


[View source]