Class: Mutant::Result::Mutation Private
- Inherits:
-
Object
- Object
- Mutant::Result::Mutation
- Includes:
- Mutant::Result
- Defined in:
- lib/mutant/result.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Mutation result
Instance Method Summary collapse
-
#killtime ⇒ Float
private
Time the tests had been running.
-
#success? ⇒ Boolean
private
Test if mutation was handled successfully.
Methods included from Mutant::Result
Instance Method Details
#killtime ⇒ Float
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Time the tests had been running
208 209 210 211 212 213 214 |
# File 'lib/mutant/result.rb', line 208 def killtime if isolation_result.success? isolation_result.value.runtime else 0.0 end end |
#success? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if mutation was handled successfully
219 220 221 222 |
# File 'lib/mutant/result.rb', line 219 def success? isolation_result.success? && mutation.class.success?(isolation_result.value) end |