class Minitest::Runnable

Direct Known Subclasses

Defined in:

focus.cr
runnable.cr

Constant Summary

FOCUSES = Hash(String, Array(String)).new

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(__reporter : Minitest::AbstractReporter) #

[View source]

Class Method Detail

def self.collect_tests : Array(Runnable::Data) #

Builds, at compile time, an Array with the test class, the test method name, and a proc to call that method. The Array will then be shuffled at runtime.


[View source]
def self.runnables : Array(Runnable.class) #

[View source]

Instance Method Detail

def __reporter : AbstractReporter #

[View source]
def matches_pattern?(name : String) : Bool #

[View source]
def should_run?(name : String) : Bool #

[View source]

Macro Detail

macro focus(definition) #

[View source]
macro it(name = "anonymous", focus = false, &block) #

[View source]