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
#==, #each_direct_children, #each_sub_nodes, #kind, #pretty_print_instance_variables, #project, #render
Constructor Details
#initialize(tests = []) ⇒ Tests
Returns a new instance of Tests.
377 378 379 380 381 |
# File 'lib/hiptest-publisher/nodes.rb', line 377 def initialize(tests = []) super() @children = {:tests => tests} tests.each {|test| test.parent = self} end |