Class: Mutant::Result::Mutation Private

Inherits:
Object
  • Object
show all
Includes:
Mutant::Result
Defined in:
lib/mutant/result.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.

Mutation result

Instance Method Summary collapse

Methods included from Mutant::Result

included, #overhead

Instance Method Details

#runtimeFloat Also known as: killtime

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.

The runtime

Returns:

  • (Float)


199
200
201
# File 'lib/mutant/result.rb', line 199

def runtime
  test_result.runtime
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

Returns:

  • (Boolean)


213
214
215
# File 'lib/mutant/result.rb', line 213

def success?
  mutation.class.success?(test_result)
end