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


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

def examples_table(*);end

#outline_step(step) ⇒ Object


659
660
661
662
663
664
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 659

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

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

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

#scenario_outline(_node, &descend) ⇒ Object


655
656
657
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 655

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