abstract class Microtest::TerminalReporter

Direct Known Subclasses

Defined in:

microtest/reporters/terminal_reporter.cr

Constant Summary

BANG = "💥"
CROSS = "✕"
DEFAULT_COLORS = {success: GREEN, failure: RED, skip: YELLOW, abortion: YELLOW}
DOT = "•"
DOTS = {success: DOT, failure: DOT, skip: DOT, abortion: BANG}
SKULL = "💀"
TICK = "✓"
TICKS = {success: TICK, failure: CROSS, skip: TICK, abortion: BANG}

Constructors

Instance methods inherited from class Microtest::Reporter

abort(ctx : ExecutionContext, info : AbortionInfo) abort, finished(ctx : ExecutionContext) finished, io : IO io, report(result : TestResult) report, started(ctx : ExecutionContext) started, suite_finished(ctx : ExecutionContext, cls : String) suite_finished, suite_started(ctx : ExecutionContext, cls : String) suite_started

Constructor methods inherited from class Microtest::Reporter

new(io : IO = STDOUT) new

Constructor Detail

def self.new(io : IO = STDOUT) #

[View source]