Class: RSpec::Core::Formatters::ProgressFormatter
- Inherits:
-
BaseTextFormatter
show all
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb
Instance Attribute Summary
#example_group, #output
Instance Method Summary
collapse
#close, #dump_failures, #dump_pending, #dump_summary, #message, #seed
#close, #example_group_started, #initialize, #start
Instance Method Details
#example_failed(_notification) ⇒ Object
19
20
21
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb', line 19
def example_failed(_notification)
output.print ConsoleCodes.wrap('F', :failure)
end
|
#example_passed(_notification) ⇒ Object
11
12
13
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb', line 11
def example_passed(_notification)
output.print ConsoleCodes.wrap('.', :success)
end
|
#example_pending(_notification) ⇒ Object
15
16
17
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb', line 15
def example_pending(_notification)
output.print ConsoleCodes.wrap('*', :pending)
end
|
#start_dump(_notification) ⇒ Object
23
24
25
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb', line 23
def start_dump(_notification)
output.puts
end
|