Class: Mutant::Test
- Inherits:
-
Object
- Object
- Mutant::Test
- Includes:
- AbstractType, Adamantium::Flat
- Defined in:
- lib/mutant/test.rb
Overview
Abstract base class for test that might kill a mutation
Defined Under Namespace
Classes: Report
Instance Method Summary collapse
-
#identification ⇒ String
private
Return test identification.
-
#run ⇒ Test::Result
private
Run tests.
-
#subject_identification ⇒ String
private
Return subject identification.
Instance Method Details
#identification ⇒ String
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 identification
70 71 72 |
# File 'lib/mutant/test.rb', line 70 def identification "#{self.class::PREFIX}:#{subject_identification}" end |
#run ⇒ Test::Result
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 tests
62 |
# File 'lib/mutant/test.rb', line 62 abstract_method :run |
#subject_identification ⇒ String
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 subject identification
This method is used for current mutants primitive test selection.
83 |
# File 'lib/mutant/test.rb', line 83 abstract_method :subject_identification |