Class: Test::Unit::UI::Tap::OldTestRunner
- Inherits:
-
UI::TestRunner
- Object
- UI::TestRunner
- Test::Unit::UI::Tap::OldTestRunner
- Defined in:
- lib/test/unit/ui/tap/perl_testrunner.rb
Overview
TestUnit’s original TAP testrunner.
We keep this runner for the time being as a fallback as the new code matures.
Instance Method Summary collapse
-
#initialize(suite, options = {}) ⇒ OldTestRunner
constructor
A new instance of OldTestRunner.
Constructor Details
#initialize(suite, options = {}) ⇒ OldTestRunner
Returns a new instance of OldTestRunner.
123 124 125 126 127 128 |
# File 'lib/test/unit/ui/tap/perl_testrunner.rb', line 123 def initialize(suite, ={}) super @output = @options[:output] || STDOUT @n_tests = 0 @already_outputted = false end |