class Cucumber::Ast::OutlineTable::ExampleRow

Public Instance Methods

feature_tags() click to toggle source
# File lib/cucumber_testrail/reopen_scenario.rb, line 35
def feature_tags
  scenario_outline.feature_tags
end
file() click to toggle source
# File lib/cucumber_testrail/reopen_scenario.rb, line 52
def file
  scenario_outline.file
end
steps_as_string() click to toggle source
# File lib/cucumber_testrail/reopen_scenario.rb, line 44
def steps_as_string
  #example rows in an outline table don't respond to steps so we have to check the scenario_outline
  scenario_outline.raw_steps.map{|s| "#{s.keyword} #{s.name}"}.join("\n")
end
tag_line() click to toggle source
# File lib/cucumber_testrail/reopen_scenario.rb, line 49
def tag_line
  scenario_outline.file_colon_line.split(':')[1].to_i - 2
end
title() click to toggle source
# File lib/cucumber_testrail/reopen_scenario.rb, line 39
def title
  line = self.to_hash.to_a.map{|a| "#{a[0]}='#{a[1]}'"}.join(', ')
  "#{scenario_outline.title} :: #{line}"
end