Class: RSpecQueue::FailureListFormatter

Inherits:
RSpec::Core::Formatters::BaseFormatter
  • Object
show all
Defined in:
lib/rspec_queue/failure_list_formatter.rb

Overview

Taken from rspec-core 3.9.0.pre FailureListFormatter

Instance Method Summary collapse

Instance Method Details

#dump_profile(_profile) ⇒ Object

Discard profile and messages

These outputs are not really relevant in the context of this failure list formatter.



16
# File 'lib/rspec_queue/failure_list_formatter.rb', line 16

def dump_profile(_profile); end

#example_failed(failure) ⇒ Object



8
9
10
# File 'lib/rspec_queue/failure_list_formatter.rb', line 8

def example_failed(failure)
  output.puts "#{failure.example.location}:#{failure.example.description}"
end

#message(_message) ⇒ Object



17
# File 'lib/rspec_queue/failure_list_formatter.rb', line 17

def message(_message); end