Class: OCRunner::TestSuite

Inherits:
Object
  • Object
show all
Defined in:
lib/ocrunner/test_suite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TestSuite

Returns a new instance of TestSuite.



9
10
11
12
# File 'lib/ocrunner/test_suite.rb', line 9

def initialize(name)
  @name = name
  @cases = []
end

Instance Attribute Details

#casesObject

Returns the value of attribute cases.



7
8
9
# File 'lib/ocrunner/test_suite.rb', line 7

def cases
  @cases
end

#nameObject (readonly)

Container for test suite info



6
7
8
# File 'lib/ocrunner/test_suite.rb', line 6

def name
  @name
end

#timeObject

Returns the value of attribute time.



7
8
9
# File 'lib/ocrunner/test_suite.rb', line 7

def time
  @time
end