Class: Mutant::Killer
- Inherits:
-
Object
- Object
- Mutant::Killer
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/killer.rb
Overview
Mutation killer
Defined Under Namespace
Classes: Report
Instance Method Summary collapse
-
#run ⇒ Killer::Report
private
Return killer report.
Instance Method Details
#run ⇒ Killer::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.
Return killer report
33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/mutant/killer.rb', line 33 def run test_report = Mutant.isolate do mutation.insert test.run end Report.new( killer: self, test_report: test_report.update(test: test) ) end |