module

Spectator::Formatting::Summary

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.

Instance methods

dump_failures(notification)

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.

Source
dump_pending(notification)

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.

Source
dump_profile(notification)

Invoked after testing completes with profiling information. This method is only called if profiling is enabled. Called after #dump_failures and before #dump_summary.

Source
dump_summary(notification)

Invoked after testing completes with summarized information from the test suite. Called after #dump_failures and before #dump_profile.

Source
start_dump
Source