Parent

Methods

Included Modules

Turn::IsoRunner

IsoRunner

Iso Runner provides means from running unit test in isolated processes. It can do this either by running each test in isolation (solo testing) or in pairs (cross testing).

The IsoRunner proiveds some variery in ouput formats and can also log results to a file.

Attributes

reporter[R]

Public Class Methods

new() click to toggle source
# File lib/turn/runners/isorunner.rb, line 22
def initialize
  @config = Turn.config

  @reporter = @config.reporter
  #yield(self) if block_given?
  @loadpath = @config.loadpath
  @requires = @config.requires
  @live     = @config.live?
  @minitest = @config.framework == :minitest
end

Public Instance Methods

start() click to toggle source

Runs the list of test calls passed to it. This is used by test_solo and test_cross.

# File lib/turn/runners/isorunner.rb, line 38
def start
  suite = TestSuite.new
  testruns = @config.files.collect do |file|
    name = file.sub(Dir.pwd+'/','')
    suite.new_case(name, file)
  end
  test_loop_runner(suite)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.