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



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

def examples_table(*);end

#outline_step(step) ⇒ Object



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

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


638
639
640
641
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 638

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

#scenario_outline(node, &descend) ⇒ Object



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

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