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

#after ⇒ Object



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

def after;self;end

#after_hook ⇒ Object



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

def after_hook(*);end

#after_step_hook ⇒ Object



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

def after_step_hook(*);end

#after_test_case ⇒ Object



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

def after_test_case(*);end

#before ⇒ Object



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

def before;self;end

#before_hook ⇒ Object



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

def before_hook(*);end

#examples_table ⇒ Object



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

def examples_table(*);end

#get_failed_step_source ⇒ Object



498
499
500
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 498

def get_failed_step_source
  return @source_of_failed_step
end

#step_invocation(step_invocation, source) ⇒ Object



502
503
504
505
506
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 502

def step_invocation(step_invocation, source)
  if source.step_result.status == :failed
    @source_of_failed_step = source
  end
end