class RSpec::Core::Formatters::BaseTextFormatter
@see RSpec::Core::Reporter
@see RSpec::Core::Formatters::BaseFormatter
to learn more about all of the methods called by the reporter.
Base for all of RSpec’s built-in formatters. See RSpec::Core::Formatters::BaseFormatter
def close(notification)
-
notification
(NullNotification
) --
Other tags:
- Api: - public
def close(notification) output.close if IO === output && output != $stdout end
def dump_failures(notification)
-
notification
(NullNotification
) --
Other tags:
- Api: - public
def dump_failures(notification) return if notification.failure_notifications.empty? output.puts notification.fully_formatted_failed_examples end
def dump_pending(notification)
- Private: -
def dump_pending(notification) return if notification.pending_examples.empty? output.puts notification.fully_formatted_pending_examples end
def dump_summary(summary)
-
summary
(SummaryNotification
) -- containing duration, example_count,
Other tags:
- Api: - public
def dump_summary(summary) output.puts summary.fully_formatted end
def message(notification)
-
notification
(MessageNotification
) -- containing message
Other tags:
- Api: - public
def message(notification) output.puts notification.message end
def seed(notification)
- Private: -
def seed(notification) return unless notification.seed_used? output.puts notification.fully_formatted end