2019-05-02 17:17:27 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-10-23 18:06:05 -05:00
|
|
|
module Autospec
|
|
|
|
class BaseRunner
|
2013-11-01 17:57:50 -05:00
|
|
|
# used when starting the runner - preloading happens here
|
|
|
|
def start(opts = {})
|
2013-10-23 18:06:05 -05:00
|
|
|
end
|
|
|
|
|
2013-11-01 17:57:50 -05:00
|
|
|
# indicates whether tests are running
|
|
|
|
def running?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
# launch a batch of specs/tests
|
|
|
|
def run(specs)
|
2013-10-23 18:06:05 -05:00
|
|
|
end
|
|
|
|
|
2013-11-01 17:57:50 -05:00
|
|
|
# used when we need to reload the whole application
|
2013-10-23 18:06:05 -05:00
|
|
|
def reload
|
|
|
|
end
|
|
|
|
|
2013-11-01 17:57:50 -05:00
|
|
|
# used to abort the current run
|
|
|
|
def abort
|
2013-10-23 18:06:05 -05:00
|
|
|
end
|
|
|
|
|
2013-11-01 17:57:50 -05:00
|
|
|
def failed_specs
|
|
|
|
[]
|
2013-10-23 18:06:05 -05:00
|
|
|
end
|
|
|
|
|
2013-11-01 17:57:50 -05:00
|
|
|
# used to stop the runner
|
2013-10-23 18:06:05 -05:00
|
|
|
def stop
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|