Module: Mutant::Result Private

Included in:
Coverage, CoverageCriteria, Env, Mutation, Subject, Test
Defined in:
lib/mutant/result.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Namespace and mixin module for results

Defined Under Namespace

Modules: ClassMethods, CoverageMetric Classes: Coverage, CoverageCriteria, Env, Mutation, Subject, Test

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(host) ⇒ undefined

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.

Hook called when module gets included

Parameters:

  • host (Class, Module)

Returns:

  • (undefined)


69
70
71
72
73
74
# File 'lib/mutant/result.rb', line 69

def self.included(host)
  host.class_eval do
    include Adamantium
    extend ClassMethods
  end
end

Instance Method Details

#overheadFloat

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.

Mutant overhead running mutatet tests

This is NOT the overhead of mutation testing, just an engine specific measurement for the efficiency of the parallelization engine, kill isolation etc.

Returns:

  • (Float)


60
61
62
# File 'lib/mutant/result.rb', line 60

def overhead
  runtime - killtime
end