123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::Formatters::ProgressFormatter Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSpec::Core::Formatters::BaseTextFormatter
Defined in: rspec-core/lib/rspec/core/formatters/progress_formatter.rb

Class Method Summary

BaseFormatter - Inherited

Instance Attribute Summary

Instance Method Summary

BaseTextFormatter - Inherited

#close

Invoked at the end of a suite run.

#dump_failures

Dumps detailed information about each example failure.

#dump_pending,
#dump_summary

This method is invoked after the dumping of examples and failures.

#message

Used by the reporter to send messages to the output stream.

#seed

BaseFormatter - Inherited

Constructor Details

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

Instance Method Details

#example_failed(_notification)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/formatters/progress_formatter.rb', line 19

def example_failed(_notification)
  output.print ConsoleCodes.wrap('F', :failure)
end

#example_passed(_notification)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/formatters/progress_formatter.rb', line 11

def example_passed(_notification)
  output.print ConsoleCodes.wrap('.', :success)
end

#example_pending(_notification)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/formatters/progress_formatter.rb', line 15

def example_pending(_notification)
  output.print ConsoleCodes.wrap('*', :pending)
end

#start_dump(_notification)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/formatters/progress_formatter.rb', line 23

def start_dump(_notification)
  output.puts
end