Class: Mutant::Integration Private
- Inherits:
-
Object
- Object
- Mutant::Integration
- Includes:
- AbstractType, Adamantium::Flat
- 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.
Abstract base class mutant test framework integrations
Direct Known Subclasses
Defined Under Namespace
Classes: Null
Constant Summary collapse
- REGISTRY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{}
Class Method Summary collapse
-
.lookup(name) ⇒ Integration
private
Lookup integration for name.
-
.setup(name) ⇒ Integration
private
Setup integration.
Instance Method Summary collapse
-
#all_tests ⇒ Enumerable<Test>
private
Available tests for integration.
-
#call ⇒ Result::Test
private
Run a collection of tests.
-
#setup ⇒ self
private
Perform integration setup.
Class Method Details
.lookup(name) ⇒ Integration
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.
Lookup integration for name
25 26 27 |
# File 'lib/mutant/integration.rb', line 25 def self.lookup(name) REGISTRY.fetch(name) end |
.setup(name) ⇒ Integration
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.
Setup integration
14 15 16 17 |
# File 'lib/mutant/integration.rb', line 14 def self.setup(name) require "mutant/integration/#{name}" lookup(name) end |
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
56 |
# File 'lib/mutant/integration.rb', line 56 abstract_method :all_tests |
#call ⇒ 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
51 |
# File 'lib/mutant/integration.rb', line 51 abstract_method :call |
#setup ⇒ self
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.
Perform integration setup
42 43 44 |
# File 'lib/mutant/integration.rb', line 42 def setup self end |