Class: Mutant::Meta::Example::Verification
- Inherits:
-
Object
- Object
- Mutant::Meta::Example::Verification
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/meta/example.rb
Overview
Example verification
Instance Method Summary collapse
-
#error_report ⇒ String
private
Return error report.
-
#success? ⇒ Boolean
private
Test if mutation was verified successfully.
Instance Method Details
#error_report ⇒ String
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 error report
60 61 62 63 64 65 |
# File 'lib/mutant/meta/example.rb', line 60 def error_report unless unparser.success? return unparser.report end mutation_report 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 verified successfully
50 51 52 |
# File 'lib/mutant/meta/example.rb', line 50 def success? unparser.success? && missing.empty? && unexpected.empty? && no_diffs.empty? end |