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
-
#runtime ⇒ Float
(also: #killtime)
private
The runtime.
-
#success? ⇒ Boolean
private
Test if mutation was handled successfully.
Methods included from Mutant::Result
Instance Method Details
#runtime ⇒ Float Also known as: killtime
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.
The runtime
197 198 199 |
# File 'lib/mutant/result.rb', line 197 def runtime test_result.runtime 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
211 212 213 |
# File 'lib/mutant/result.rb', line 211 def success? mutation.class.success?(test_result) end |