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 : Spectator::Matchers::Matcher) should, should_not(matcher : Spectator::Matchers::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]