Class: DeepCover::AutoRun::Runner
- Inherits:
-
Object
- Object
- DeepCover::AutoRun::Runner
- Includes:
- Tools::AfterTests
- Defined in:
- lib/deep_cover/auto_run.rb
Instance Method Summary collapse
-
#initialize ⇒ Runner
constructor
A new instance of Runner.
- #report!(**options) ⇒ Object
- #run! ⇒ Object
Constructor Details
#initialize ⇒ Runner
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!(**) after_tests { puts report(**) } 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 |