class Oktest::QuietReporter

Public Instance Methods

exit_all(runner) click to toggle source

; [!0z4im] reports all statuses except PASS status.

# File lib/oktest.rb, line 2023
def exit_all(runner)
  elapsed = Time.now - @start_at
  puts()
  print_exceptions()
  puts footer(elapsed)
end
exit_spec(spec, depth, status, error, parent) click to toggle source
Calls superclass method Oktest::BaseReporter#exit_spec
# File lib/oktest.rb, line 2030
def exit_spec(spec, depth, status, error, parent)
  super
  if status != :PASS
    print Color.status(status, CHARS[status] || '?')
    $stdout.flush
  end
end