class Cucumber::Formatter::TestStepSource::StepSource

Public Instance Methods

build_step_invocation(indent, support_code, config, messages, embeddings) click to toggle source
# File lib/cucumber/formatter/legacy_api/adapter.rb, line 176
def build_step_invocation(indent, support_code, config, messages, embeddings)
  step_result.step_invocation(
    step_match(support_code),
    step,
    indent,
    background,
    config,
    messages,
    embeddings
  )
end

Private Instance Methods

step_match(support_code) click to toggle source
# File lib/cucumber/formatter/legacy_api/adapter.rb, line 190
def step_match(support_code)
  support_code.step_match(step.name)
rescue Cucumber::Undefined
  NoStepMatch.new(step, step.name)
end