class RSpec::Core::Notifications::SummaryNotification
@attr [Fixnum] pending_count the number of pending examples
@attr [Fixnum] failure_count the number of failed examples
@attr [Fixnum] example_count the number of examples run
@attr [Float] duration the time taken (in seconds) to run the suite
of the test run.
a test suite. It is used by formatters to provide information at the end
The ‘SummaryNotification` holds information about the results of running
def summary_line
-
(String)
- A line summarising the results of the spec run.
Other tags:
- Api: -
def summary_line summary = pluralize(example_count, "example") summary << ", " << pluralize(failure_count, "failure") summary << ", #{pending_count} pending" if pending_count > 0 summary end