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:
self,
BaseTextFormatter,
BaseFormatter
|
|
|
Instance Chain:
self,
BaseTextFormatter,
BaseFormatter
|
|
| Inherits: |
RSpec::Core::Formatters::BaseTextFormatter
|
| Defined in: | rspec-core/lib/rspec/core/formatters/progress_formatter.rb |
Class Method Summary
BaseFormatter - Inherited
Instance Attribute Summary
BaseFormatter - Inherited
Instance Method Summary
- #example_failed(_notification) Internal use only
- #example_passed(_notification) Internal use only
- #example_pending(_notification) Internal use only
- #start_dump(_notification) Internal use only
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