class Hiptest::Nodes::Scenario
Attributes
folder_uid[R]
order_in_parent[R]
Public Class Methods
new(name, description = '', tags = [], parameters = [], body = [], folder_uid = nil, datatable = Datatable.new, order_in_parent = 0)
click to toggle source
Calls superclass method
Hiptest::Nodes::Item::new
# File lib/hiptest-publisher/nodes.rb, line 366 def initialize(name, description = '', tags = [], parameters = [], body = [], folder_uid = nil, datatable = Datatable.new, order_in_parent = 0) super(name, tags, description, parameters, body) @children[:datatable] = datatable @folder_uid = folder_uid @order_in_parent = order_in_parent end
Public Instance Methods
folder()
click to toggle source
# File lib/hiptest-publisher/nodes.rb, line 378 def folder project && project.children[:test_plan] && project.children[:test_plan].find_folder_by_uid(folder_uid) end
set_uid(uid)
click to toggle source
# File lib/hiptest-publisher/nodes.rb, line 374 def set_uid(uid) @children[:uid] = uid end