Class: Cucumber::Ast::OutlineTable::ExampleRow
- Inherits:
-
Object
- Object
- Cucumber::Ast::OutlineTable::ExampleRow
show all
- Includes:
- Testrail::Scenario
- Defined in:
- lib/cucumber_testrail/reopen_scenario.rb
Instance Method Summary
collapse
#ignore_testrail?, included, #is_manual?, #jira, #project, #skip_result?, #sub_section, #suite, #test_result, #testcase, #testrail_status, #testrail_tag, #testrail_test_report, #testrail_testcase, #testrun
Instance Method Details
35
36
37
|
# File 'lib/cucumber_testrail/reopen_scenario.rb', line 35
def feature_tags
scenario_outline.feature_tags
end
|
#file ⇒ Object
52
53
54
|
# File 'lib/cucumber_testrail/reopen_scenario.rb', line 52
def file
scenario_outline.file
end
|
#steps_as_string ⇒ Object
44
45
46
47
|
# File 'lib/cucumber_testrail/reopen_scenario.rb', line 44
def steps_as_string
scenario_outline.raw_steps.map{|s| "#{s.keyword} #{s.name}"}.join("\n")
end
|
#tag_line ⇒ Object
49
50
51
|
# File 'lib/cucumber_testrail/reopen_scenario.rb', line 49
def tag_line
scenario_outline.file_colon_line.split(':')[1].to_i - 2
end
|
#title ⇒ Object
39
40
41
42
|
# 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
|