Class: Hiptest::Nodes::Tests
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(tests = []) ⇒ Tests
constructor
A new instance of Tests.
Methods inherited from Node
#direct_children, #find_sub_nodes, #render
Constructor Details
#initialize(tests = []) ⇒ Tests
Returns a new instance of Tests.
300 301 302 303 304 |
# File 'lib/hiptest-publisher/nodes.rb', line 300 def initialize(tests = []) super() @children = {:tests => tests} tests.each {|test| test.parent = self} end |