Class: Cucumber::Formatter::LegacyApi::Adapter::HiddenBackgroundPrinter
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Formatter::LegacyApi::Adapter::HiddenBackgroundPrinter
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Overview
Printer to handle background steps for anything but the first scenario in a feature. These steps should not be printed.
Instance Method Summary collapse
- #after ⇒ Object
- #after_hook ⇒ Object
- #after_step_hook ⇒ Object
- #after_test_case ⇒ Object
- #before ⇒ Object
- #before_hook ⇒ Object
- #examples_table ⇒ Object
- #get_failed_step_source ⇒ Object
- #step_invocation(_step_invocation, source) ⇒ Object
Instance Method Details
#after ⇒ Object
521 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 521 def after;self;end |
#after_hook ⇒ Object
523 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 523 def after_hook(*);end |
#after_step_hook ⇒ Object
524 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 524 def after_step_hook(*);end |
#after_test_case ⇒ Object
526 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 526 def after_test_case(*);end |
#before ⇒ Object
520 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 520 def before;self;end |
#before_hook ⇒ Object
522 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 522 def before_hook(*);end |
#examples_table ⇒ Object
525 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 525 def examples_table(*);end |
#get_failed_step_source ⇒ Object
510 511 512 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 510 def get_failed_step_source return @source_of_failed_step end |
#step_invocation(_step_invocation, source) ⇒ Object
514 515 516 517 518 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 514 def step_invocation(_step_invocation, source) if source.step_result.status == :failed @source_of_failed_step = source end end |