Class: RUNIT::TestSuite

Inherits:
Test::Unit::TestSuite
  • Object
show all
Defined in:
lib/runit/testsuite.rb

Instance Method Summary collapse

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_casesObject



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