Class: Turn::IsoRunner

### Home Classes Methods

### In Files

- lib/turn/runners/isorunner.rb

### Parent

Object

### Methods

- ::new
- #start

### Included Modules

- Turn::Colorize

### Files

- History.txt
- LICENSE-GPL2.txt
- LICENSE-MIT.txt
- LICENSE-RUBY.txt
- LICENSE.txt
- Release.txt
- Version.txt

### Class/Module Index

Quicksearch

- Turn
- Turn::Colorize
- Turn::Command
- Turn::Configuration
- Turn::Controller
- Turn::CrossRunner
- Turn::CueReporter
- Turn::DotReporter
- Turn::IsoRunner
- Turn::MarshalReporter
- Turn::MiniRunner
- Turn::OutlineReporter
- Turn::PrettyReporter
- Turn::ProgressReporter
- Turn::Reporter
- Turn::SoloRunner
- Turn::TestCase
- Turn::TestMethod
- Turn::TestRunner
- Turn::TestSuite
- Test
- Test::Unit
- Test::Unit::Failure
- Object
- String

No matching classes.

# 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.