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
214 215 216 217 218 219 220 |
# File 'lib/mutant/result.rb', line 214 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
225 226 227 228 |
# File 'lib/mutant/result.rb', line 225 def success? isolation_result.success? && mutation.class.success?(isolation_result.value) end |