Class: Mutant::Integration
- Inherits:
-
Object
- Object
- Mutant::Integration
- Includes:
- AbstractType, Adamantium::Flat
- Defined in:
- lib/mutant/integration.rb
Overview
Abstract base class mutant test framework integrations
Direct Known Subclasses
Defined Under Namespace
Classes: Null
Constant Summary collapse
- REGISTRY =
{}
Class Method Summary collapse
-
.lookup(name) ⇒ Integration
private
Lookup integration for name.
Instance Method Summary collapse
-
#all_tests ⇒ Enumerable<Test>
private
Return all available tests by integration.
-
#call ⇒ Result::Test
private
Return test result for 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
18 19 20 |
# File 'lib/mutant/integration.rb', line 18 def self.lookup(name) REGISTRY.fetch(name).new 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.
Return all available tests by integration
63 |
# File 'lib/mutant/integration.rb', line 63 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.
Return test result for tests
55 |
# File 'lib/mutant/integration.rb', line 55 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
43 44 45 |
# File 'lib/mutant/integration.rb', line 43 def setup self end |