Module: Contract::SuiteMixin
- Defined in:
- lib/contract/overrides.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#run(result, *more, &progress_block) ⇒ Object
Need to pass along object for test.
Instance Method Details
#run(result, *more, &progress_block) ⇒ Object
Need to pass along object for test.
11 12 13 14 15 16 17 18 |
# File 'lib/contract/overrides.rb', line 11 def run(result, *more, &progress_block) progress_block ||= lambda { |*args| } progress_block.call(Test::Unit::TestCase::STARTED, name) @tests.each do |test| test.run(result, *more, &progress_block) end progress_block.call(Test::Unit::TestCase::FINISHED, name) end |