class

Spectator::Formatting::ProgressFormatter

Inherits Spectator::Formatting::Summary / Spectator::Formatting::Formatter / Reference / Object

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.

Constructors

new(io : IO = STDOUT)

Creates the formatter.

Source

Instance methods

example_error(_notification)

Produces an error character.

Source
example_failed(_notification)

Produces a fail character.

Source
example_passed(_notification)

Produces a pass character.

Source
example_pending(_notification)

Produces a skip character.

Source
stop

Produces a new line after the tests complete.

Source