Class: Mutant::Test
- Inherits:
-
Object
- Object
- Mutant::Test
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/test.rb
Overview
Abstract base class for test that might kill a mutation
Instance Method Summary collapse
-
#identification ⇒ String
private
Return test identification.
-
#run ⇒ Report
private
Run test, return report.
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
12 13 14 |
# File 'lib/mutant/test.rb', line 12 def identification "#{integration.name}:#{expression.syntax}" end |
#run ⇒ Report
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 test, return report
23 24 25 |
# File 'lib/mutant/test.rb', line 23 def run integration.run(self) end |