Class: Mutest::Result::Mutation Private
- Inherits:
-
Object
- Object
- Mutest::Result::Mutation
- Includes:
- Mutest::Result
- Defined in:
- lib/mutest/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 Mutest::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
193 194 195 |
# File 'lib/mutest/result.rb', line 193 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
207 208 209 |
# File 'lib/mutest/result.rb', line 207 def success? mutation.class.success?(test_result) end |