Class: Cucumber::Formatter::LegacyApi::Adapter::HiddenBackgroundPrinter

Inherits:
Struct
  • Object
show all
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

Instance Method Details

#afterObject


521
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 521

def after;self;end

#after_hookObject


523
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 523

def after_hook(*);end

#after_step_hookObject


524
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 524

def after_step_hook(*);end

#after_test_caseObject


526
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 526

def after_test_case(*);end

#beforeObject


520
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 520

def before;self;end

#before_hookObject


522
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 522

def before_hook(*);end

#examples_tableObject


525
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 525

def examples_table(*);end

#get_failed_step_sourceObject


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