Test::Unit::UI::TestRunner
Runs a Test::Unit::TestSuite and outputs result as TAP format.
# File lib/test/unit/ui/tap/testrunner.rb, line 18 def initialize(suite, options={}) super @output = @options[:output] || STDOUT @n_tests = 0 @already_outputted = false end
Begins the test run.
# File lib/test/unit/ui/tap/testrunner.rb, line 26 def start result = super def result.passed? true # for prove commend :< end result end
[Validate]
Generated with the Darkfish Rdoc Generator 2.