Class: Cucumber::Formatter::LegacyApi::Adapter::OutlineStepsPrinter

Inherits:
Struct
  • Object
show all
Defined in:
lib/cucumber/formatter/legacy_api/adapter.rb

Instance Method Summary collapse

Instance Method Details

#examples_tableObject



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

def examples_table(*);end

#outline_step(step) ⇒ Object



651
652
653
654
655
656
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 651

def outline_step(step)
  step_match = NoStepMatch.new(step, step.name)
  step_invocation = LegacyResultBuilder.new(Core::Test::Result::Skipped.new).
    step_invocation(step_match, step, indent, background = nil, configuration, messages = [], embeddings = [])
  steps_printer.step_invocation step_invocation
end


642
643
644
645
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 642

def print(node)
  node.describe_to self
  steps_printer.after
end

#scenario_outline(node, &descend) ⇒ Object



647
648
649
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 647

def scenario_outline(node, &descend)
  descend.call(self)
end