Methods

Files

Class/Module Index [+]

Quicksearch

Test::Unit::UI::Tap::TestRunner

Runs a Test::Unit::TestSuite and outputs result as TAP format.

Public Class Methods

new(suite, options={}) click to toggle source
# 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

Public Instance Methods

start() click to toggle source

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.