Class: TestQueue::Runner::TestUnit::TestSuite
- Inherits:
-
Test::Unit::TestSuite
- Object
- Test::Unit::TestSuite
- TestQueue::Runner::TestUnit::TestSuite
- Defined in:
- lib/test_queue/runner/testunit.rb
Instance Method Summary collapse
-
#initialize(name, iterator) ⇒ TestSuite
constructor
A new instance of TestSuite.
- #run ⇒ Object
- #size ⇒ Object
Constructor Details
#initialize(name, iterator) ⇒ TestSuite
Returns a new instance of TestSuite.
14 15 16 17 |
# File 'lib/test_queue/runner/testunit.rb', line 14 def initialize(name, iterator) super(name) @tests = IteratorWrapper.new(iterator) end |
Instance Method Details
#run ⇒ Object
19 20 21 22 |
# File 'lib/test_queue/runner/testunit.rb', line 19 def run(*) @started = true super end |
#size ⇒ Object
24 25 26 27 28 |
# File 'lib/test_queue/runner/testunit.rb', line 24 def size return 0 unless @started super end |