Class: Mutant::Integration::Null Private

Inherits:
Mutant::Integration show all
Defined in:
lib/mutant/integration.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.

Null integration that never kills a mutation

Constant Summary

Constants inherited from Mutant::Integration

REGISTRY

Instance Method Summary collapse

Methods inherited from Mutant::Integration

lookup, setup, #setup

Instance Method Details

#all_testsEnumerable<Test>

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.

Available tests for integration

Returns:

  • (Enumerable<Test>)


75
76
77
# File 'lib/mutant/integration.rb', line 75

def all_tests
  EMPTY_ARRAY
end

#call(tests) ⇒ Result::Test

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.

Run a collection of tests

Parameters:

Returns:



84
85
86
87
88
89
90
91
# File 'lib/mutant/integration.rb', line 84

def call(tests)
  Result::Test.new(
    output:  '',
    passed:  true,
    runtime: 0.0,
    tests:   tests
  )
end