class Spectator::CompositeExampleFilter

Overview

Filter that combines multiple other filters.

Defined in:

spectator/composite_example_filter.cr

Constructors

Instance Method Summary

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

def self.new(filters : Array(ExampleFilter)) #

Creates the example filter.


[View source]

Instance Method Detail

def includes?(example) : Bool #

Checks whether the example satisfies the filter.


[View source]