class Spork::RunStrategy

Public Instance Methods

abort() click to toggle source
# File lib/spork/run_strategy.rb, line 29
def abort
  raise NotImplementedError
end
assert_ready!() click to toggle source
# File lib/spork/run_strategy.rb, line 25
def assert_ready!
  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

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 34
def self.factory(test_framework)
  if RUBY_PLATFORM =~ /mswin|mingw|java/
    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 42
def self.inherited(subclass)
  @@run_strategies << subclass
end