Class: RSpec::Core::Formatters::FailureListFormatter

Inherits:
BaseFormatter show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/failure_list_formatter.rb

Instance Attribute Summary

Attributes inherited from BaseFormatter

#example_group, #output

Instance Method Summary collapse

Methods inherited from BaseFormatter

#close, #example_group_started, #initialize, #start

Constructor Details

This class inherits a constructor from RSpec::Core::Formatters::BaseFormatter

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.



18
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/failure_list_formatter.rb', line 18

def dump_profile(_profile); end

#example_failed(failure) ⇒ Object



10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/failure_list_formatter.rb', line 10

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

#message(_message) ⇒ Object



19
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/failure_list_formatter.rb', line 19

def message(_message); end