Class: DeepCover::AutoRun::Runner

Inherits:
Object
  • Object
show all
Includes:
Tools::AfterTests
Defined in:
lib/deep_cover/auto_run.rb

Instance Method Summary collapse

Constructor Details

#initializeRunner

Returns a new instance of Runner.



10
11
12
# File 'lib/deep_cover/auto_run.rb', line 10

def initialize
  @saved = false
end

Instance Method Details

#report!(**options) ⇒ Object



20
21
22
23
# File 'lib/deep_cover/auto_run.rb', line 20

def report!(**options)
  after_tests { puts report(**options) }
  self
end

#run!Object



14
15
16
17
18
# File 'lib/deep_cover/auto_run.rb', line 14

def run!
  after_tests { save }
  ExecCallbacks.before_exec { save }
  self
end