Class: Mutant::Integration::Null Private
- Inherits:
-
Mutant::Integration
- Object
- Mutant::Integration
- Mutant::Integration::Null
- Defined in:
- lib/mutant/integration/null.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 has no tests
Constant Summary
Constants inherited from Mutant::Integration
CONST_MESSAGE, INTEGRATION_MISSING, LOAD_MESSAGE
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
#available_tests, #setup, setup
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
10 11 12 |
# File 'lib/mutant/integration/null.rb', line 10 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
19 20 21 22 23 24 25 26 |
# File 'lib/mutant/integration/null.rb', line 19 def call(_tests) Result::Test.new( job_index: nil, output: '', passed: true, runtime: 0.0 ) end |