Class: Mutant::Integration::Null
- Inherits:
-
Mutant::Integration
- Object
- Mutant::Integration
- Mutant::Integration::Null
- Defined in:
- lib/mutant/integration.rb
Overview
Null integration that never kills a mutation
Constant Summary
Constants inherited from Mutant::Integration
Instance Method Summary collapse
-
#all_tests ⇒ Enumerable<Test>
private
Available tests for integration.
-
#call(tests) ⇒ Result::Test
private
Run a collection of tests.
Methods inherited from Mutant::Integration
Instance Method Details
#all_tests ⇒ Enumerable<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
91 92 93 |
# File 'lib/mutant/integration.rb', line 91 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
102 103 104 105 106 107 108 109 |
# File 'lib/mutant/integration.rb', line 102 def call(tests) Result::Test.new( tests: tests, output: '', runtime: 0.0, passed: true ) end |