Class: RUNIT::TestSuite
- Inherits:
-
Test::Unit::TestSuite
- Object
- Test::Unit::TestSuite
- RUNIT::TestSuite
- Defined in:
- lib/runit/testsuite.rb
Instance Method Summary collapse
- #add(*args) ⇒ Object
- #add_test(*args) ⇒ Object
- #count_test_cases ⇒ Object
- #run(result, &progress_block) ⇒ Object
Instance Method Details
#add(*args) ⇒ Object
13 14 15 |
# File 'lib/runit/testsuite.rb', line 13 def add(*args) self.<<(*args) end |
#add_test(*args) ⇒ Object
9 10 11 |
# File 'lib/runit/testsuite.rb', line 9 def add_test(*args) add(*args) end |
#count_test_cases ⇒ Object
17 18 19 |
# File 'lib/runit/testsuite.rb', line 17 def count_test_cases return size end |
#run(result, &progress_block) ⇒ Object
21 22 23 24 |
# File 'lib/runit/testsuite.rb', line 21 def run(result, &progress_block) progress_block = proc {} unless (block_given?) super(result, &progress_block) end |