Fix propagation of test report attributes from killforks
I do not really like the current implementation. But it works for now.
This commit is contained in:
parent
5e7bfc0812
commit
5ee21dc303
2 changed files with 5 additions and 1 deletions
|
@ -124,7 +124,7 @@ module Mutant
|
|||
config.isolation.call do
|
||||
mutation.insert
|
||||
test.run
|
||||
end
|
||||
end.update(test: test, mutation: mutation)
|
||||
rescue Isolation::Error
|
||||
Result::Test.new(
|
||||
test: test,
|
||||
|
|
|
@ -14,6 +14,10 @@ describe Mutant::Runner do
|
|||
super
|
||||
end
|
||||
|
||||
def update(attributes)
|
||||
self
|
||||
end
|
||||
|
||||
def method_missing(name, *arguments)
|
||||
super unless attributes.key?(name)
|
||||
fail "Arguments provided for #{name}" if arguments.any?
|
||||
|
|
Loading…
Reference in a new issue