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
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.
Error report
55 56 57 58 59 60 |
# File 'lib/mutant/meta/example.rb', line 55 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
46 47 48 |
# File 'lib/mutant/meta/example.rb', line 46 def success? unparser.success? && missing.empty? && unexpected.empty? && no_diffs.empty? end |