Class: Autospec::BaseRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/autospec/base_runner.rb

Direct Known Subclasses

RspecRunner

Instance Method Summary collapse

Instance Method Details

#abortObject

used to abort the current run



23
24
# File 'lib/autospec/base_runner.rb', line 23

def abort
end

#failed_specsObject



26
27
28
# File 'lib/autospec/base_runner.rb', line 26

def failed_specs
  []
end

#reloadObject

used when we need to reload the whole application



19
20
# File 'lib/autospec/base_runner.rb', line 19

def reload
end

#run(specs) ⇒ Object

launch a batch of specs/tests



15
16
# File 'lib/autospec/base_runner.rb', line 15

def run(specs)
end

#running?Boolean

indicates whether tests are running

Returns:

  • (Boolean)


10
11
12
# File 'lib/autospec/base_runner.rb', line 10

def running?
  true
end

#start(opts = {}) ⇒ Object

used when starting the runner - preloading happens here



6
7
# File 'lib/autospec/base_runner.rb', line 6

def start(opts = {})
end

#stopObject

used to stop the runner



31
32
# File 'lib/autospec/base_runner.rb', line 31

def stop
end