Class: FailedBackgroundProcessReporter
- Inherits:
-
Object
- Object
- FailedBackgroundProcessReporter
- Defined in:
- lib/rspec-background-process/background_process_helpers.rb
Overview
RSpec custom reporter config.add_formatter FailedBackgroundProcessReporter
Instance Method Summary collapse
- #example_failed(example) ⇒ Object
-
#initialize(output) ⇒ FailedBackgroundProcessReporter
constructor
A new instance of FailedBackgroundProcessReporter.
Constructor Details
#initialize(output) ⇒ FailedBackgroundProcessReporter
Returns a new instance of FailedBackgroundProcessReporter.
54 55 56 |
# File 'lib/rspec-background-process/background_process_helpers.rb', line 54 def initialize(output) @output = output end |
Instance Method Details
#example_failed(example) ⇒ Object
58 59 60 |
# File 'lib/rspec-background-process/background_process_helpers.rb', line 58 def example_failed(example) @output << BackgroundProcessCoreHelpers.report_failed_instance end |