class Spectator::Formatting::ProgressFormatter
Overview
Output formatter that produces a single character for each test as it completes. A '.' indicates a pass, 'F' a failure, 'E' an error, and '*' a skipped or pending test.
Included Modules
Defined in:
spectator/formatting/progress_formatter.crConstructors
-
.new(io : IO = STDOUT)
Creates the formatter.
Instance Method Summary
-
#example_error(_notification)
Produces an error character.
-
#example_failed(_notification)
Produces a fail character.
-
#example_passed(_notification)
Produces a pass character.
-
#example_pending(_notification)
Produces a skip character.
-
#stop
Produces a new line after the tests complete.