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
-
#failed_test_results ⇒ Array
private
Return failed test results.
-
#success? ⇒ Boolean
private
Test if mutation was handled successfully.
Methods included from Mutant::Result
Instance Method Details
#failed_test_results ⇒ Array
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.
Return failed test results
281 282 283 |
# File 'lib/mutant/result.rb', line 281 def failed_test_results test_results.select(&:fail?) 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
271 272 273 |
# File 'lib/mutant/result.rb', line 271 def success? test_results.any?(&:success?) end |