Class: Mutant::Meta::Example::Verification Private

Inherits:
Object
  • Object
show all
Includes:
Unparser::Adamantium
Defined in:
lib/mutant/meta/example/verification.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.

Example verification

Instance Method Summary collapse

Instance Method Details

#error_reportObject

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.



24
25
26
# File 'lib/mutant/meta/example/verification.rb', line 24

def error_report
  reports.join("\n")
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

Returns:

  • (Boolean)


13
14
15
16
17
18
19
20
21
# File 'lib/mutant/meta/example/verification.rb', line 13

def success?
  [
    original_verification,
    invalid,
    missing,
    no_diffs,
    unexpected
  ].all?(&:empty?)
end