Class: Spork::RunStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/spork/run_strategy.rb

Direct Known Subclasses

Forking, Magazine

Defined Under Namespace

Classes: Forking, Magazine

Constant Summary collapse

@@run_strategies =
[]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(test_framework) ⇒ RunStrategy

Returns a new instance of RunStrategy.



5
6
7
# File 'lib/spork/run_strategy.rb', line 5

def initialize(test_framework)
  @test_framework = test_framework
end

Instance Attribute Details

#test_frameworkObject (readonly)

Returns the value of attribute test_framework.



2
3
4
# File 'lib/spork/run_strategy.rb', line 2

def test_framework
  @test_framework
end

Instance Method Details

#abortObject

Raises:

  • (NotImplementedError)


29
30
31
# File 'lib/spork/run_strategy.rb', line 29

def abort
  raise NotImplementedError
end

#assert_ready!Object

Raises:

  • (NotImplementedError)


25
26
27
# File 'lib/spork/run_strategy.rb', line 25

def assert_ready!
  raise NotImplementedError
end

#cleanupObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/spork/run_strategy.rb', line 17

def cleanup
  raise NotImplementedError
end

#preloadObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/spork/run_strategy.rb', line 9

def preload
  raise NotImplementedError
end

#run(argv, input, output) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/spork/run_strategy.rb', line 13

def run(argv, input, output)
  raise NotImplementedError
end

#running?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/spork/run_strategy.rb', line 21

def running?
  raise NotImplementedError
end