Class: Mutant::Result::Mutation
- Inherits:
-
Object
- Object
- Mutant::Result::Mutation
- Includes:
- Mutant::Result
- Defined in:
- lib/mutant/result.rb
Overview
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
225 226 227 |
# File 'lib/mutant/result.rb', line 225 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
236 237 238 |
# File 'lib/mutant/result.rb', line 236 def success? mutation.class.success?(test_result) end |