Class Spork::RunStrategy
In: lib/spork/run_strategy.rb
Parent: Object

Methods

abort   cleanup   factory   inherited   new   preload   run   running?  

Attributes

test_framework  [R] 

Public Class methods

[Source]

# File lib/spork/run_strategy.rb, line 5
  def initialize(test_framework)
    @test_framework = test_framework
  end

Protected Class methods

[Source]

# File lib/spork/run_strategy.rb, line 30
    def self.factory(test_framework)
      Spork::RunStrategy::Forking.new(test_framework)
    end

[Source]

# File lib/spork/run_strategy.rb, line 34
    def self.inherited(subclass)
      @@run_strategies << subclass
    end

Public Instance methods

[Source]

# File lib/spork/run_strategy.rb, line 25
  def abort
    raise NotImplementedError
  end

[Source]

# File lib/spork/run_strategy.rb, line 17
  def cleanup
    raise NotImplementedError
  end

[Source]

# File lib/spork/run_strategy.rb, line 9
  def preload
    raise NotImplementedError
  end

[Source]

# File lib/spork/run_strategy.rb, line 13
  def run(argv, input, output)
    raise NotImplementedError
  end

[Source]

# File lib/spork/run_strategy.rb, line 21
  def running?
    raise NotImplementedError
  end

[Validate]