Parent

Spork::RunStrategy

Attributes

test_framework[R]

Public Class Methods

new(test_framework) click to toggle source
# File lib/spork/run_strategy.rb, line 5
def initialize(test_framework)
  @test_framework = test_framework
end

Protected Class Methods

factory(test_framework) click to toggle source
# File lib/spork/run_strategy.rb, line 30
def self.factory(test_framework)
  if RUBY_PLATFORM =~ /mswin|mingw/
    Spork::RunStrategy::Magazine.new(test_framework)
  else
    Spork::RunStrategy::Forking.new(test_framework)
  end
end
inherited(subclass) click to toggle source
# File lib/spork/run_strategy.rb, line 38
def self.inherited(subclass)
  @@run_strategies << subclass
end

Public Instance Methods

abort() click to toggle source
# File lib/spork/run_strategy.rb, line 25
def abort
  raise NotImplementedError
end
cleanup() click to toggle source
# File lib/spork/run_strategy.rb, line 17
def cleanup
  raise NotImplementedError
end
preload() click to toggle source
# File lib/spork/run_strategy.rb, line 9
def preload
  raise NotImplementedError
end
run(argv, input, output) click to toggle source
# File lib/spork/run_strategy.rb, line 13
def run(argv, input, output)
  raise NotImplementedError
end
running?() click to toggle source
# File lib/spork/run_strategy.rb, line 21
def running?
  raise NotImplementedError
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.