class Spectator::Formatting::DocumentFormatter
Overview
Produces an indented document-style output. Each nested group of examples increases the indent. Example names are output in a color based on their result.
Included Modules
Defined in:
spectator/formatting/document_formatter.crConstructors
-
.new(io : IO = STDOUT)
Creates the formatter.
Instance Method Summary
-
#end_example(result)
Produces a single character output based on a result.
-
#start_example(example)
Does nothing when an example is started.