Class: Mutest::Integration::Null Private
- Inherits:
-
Mutest::Integration
- Object
- Mutest::Integration
- Mutest::Integration::Null
- Defined in:
- lib/mutest/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 never kills a mutation
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 Mutest::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
8 9 10 |
# File 'lib/mutest/integration/null.rb', line 8 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
17 18 19 20 21 22 23 24 |
# File 'lib/mutest/integration/null.rb', line 17 def call(tests) Result::Test.new( output: '', passed: true, runtime: 0.0, tests: tests ) end |