class RSpec::Core::Formatters::BaseTextFormatter

@see RSpec::Core::Reporter
@see RSpec::Core::Formatters::BaseFormatter
methods called by the reporter.
RSpec::Core::Formatters::BaseFormatter to learn more about all of the
Base for all of RSpec’s built-in formatters. See

def close(_notification)

Parameters:
  • _notification (NullNotification) -- (Ignored)

Other tags:
    Api: - public
def close(_notification)
  return unless IO === output
  return if output.closed?
  output.puts
  output.flush
  output.close unless output == $stdout
end

def dump_failures(notification)

Parameters:
  • 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)

Other tags:
    Private: -
def dump_pending(notification)
  return if notification.pending_examples.empty?
  output.puts notification.fully_formatted_pending_examples
end

def dump_summary(summary)

Parameters:
  • summary (SummaryNotification) -- containing duration,

Other tags:
    Api: - public
def dump_summary(summary)
  output.puts summary.fully_formatted
end

def message(notification)

Parameters:
  • notification (MessageNotification) -- containing message

Other tags:
    Api: - public
def message(notification)
  output.puts notification.message
end

def seed(notification)

Other tags:
    Private: -
def seed(notification)
  return unless notification.seed_used?
  output.puts notification.fully_formatted
end