module Spectator::Formatting::Summary
Overview
Mix-in providing common output for summarized results.
Implements the following methods:
Formatter#start_dump
, Formatter#dump_pending
, Formatter#dump_failures
,
Formatter#dump_summary
, and Formatter#dump_profile
.
Classes including this module must implement #io
.
Direct including types
Defined in:
spectator/formatting/summary.crInstance Method Summary
-
#dump_failures(notification)
Invoked after testing completes with a list of failed examples.
-
#dump_pending(notification)
Invoked after testing completes with a list of pending examples.
-
#dump_profile(notification)
Invoked after testing completes with profiling information.
-
#dump_summary(notification)
Invoked after testing completes with summarized information from the test suite.
- #start_dump
Instance Method Detail
Invoked after testing completes with a list of failed examples.
This method will be called with an empty list if there were no failures.
Called after #dump_pending
and before #dump_summary
.
Invoked after testing completes with a list of pending examples.
This method will be called with an empty list if there were no pending (skipped) examples.
Called after #start_dump
and before #dump_failures
.
Invoked after testing completes with profiling information.
This method is only called if profiling is enabled.
Called after #dump_failures
and before #dump_summary
.
Invoked after testing completes with summarized information from the test suite.
Called after #dump_failures
and before #dump_profile
.