Class: Mutant::Result::Test

Inherits:
Object
  • Object
show all
Includes:
Mutant::Result
Defined in:
lib/mutant/result.rb

Overview

Test result

Instance Method Summary collapse

Methods included from Mutant::Result

#fail?, included, #overhead

Instance Method Details

#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 test result is successful



175
176
177
# File 'lib/mutant/result.rb', line 175

def success?
  mutation.killed_by?(self)
end