class

Spectator::Formatting::DotsFormatter

Inherits Spectator::Formatting::SuiteSummary < Spectator::Formatting::Formatter < Reference < Object

Produces a single character for each example. A dot is output for each successful example (hence the name). Other characters are output for non-successful results. At the end of the test suite, a summary of failures and results is displayed.

Constructors

new(io : IO = STDOUT)

Creates the formatter. By default, output is sent to STDOUT.

Source

Instance methods

end_example(result)

Produces a single character output based on a result.

Source
start_example(example)

Does nothing when an example is started.

Source