Continue on dead workers with counting mutation as not killed

This commit is contained in:
Markus Schirp 2014-07-02 18:21:46 +00:00
parent efa12158d1
commit d7ae5a01d4

View file

@ -29,10 +29,6 @@ module Mutant
# @api private
#
def run
test_report = Isolation.call do
mutation.insert
test.run
end
Report.new(
killer: self,
@ -40,5 +36,24 @@ module Mutant
)
end
# Return test report
#
# @return [Test::Report]
#
# @api private
#
def test_report
Isolation.call do
mutation.insert
test.run
end
rescue Parallel::DeadWorker => exception
Test::Report.new(
test: test,
output: exception.message,
success: true
)
end
end # Killer
end # Mutant