Sha256: 50f1d01f6a5e73cb0a6a3077e69ac2ca8c19407bbc2baff9de79d0800e9f766d

Contents?: true

Size: 643 Bytes

Versions: 6827

Compression:

Stored size: 643 Bytes

Contents

RSpec::Support.require_rspec_core "formatters/base_formatter"

module RSpec
  module Core
    module Formatters
      # @private
      class FailureListFormatter < BaseFormatter
        Formatters.register self, :example_failed, :dump_profile, :message

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

        # Discard profile and messages
        #
        # These outputs are not really relevant in the context of this failure
        # list formatter.
        def dump_profile(_profile); end
        def message(_message); end
      end
    end
  end
end

Version data entries

6,827 entries across 6,771 versions & 75 rubygems

Version Path
genkaio-0.0.2 vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
genkaio-0.0.1 vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
spec_fill-0.1.1 vendor/bundle/ruby/2.6.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
spec_fill-0.1.0 vendor/bundle/ruby/2.6.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb
rspec-core-3.9.0 lib/rspec/core/formatters/failure_list_formatter.rb