testify
testify copied to clipboard
mock: log callerInfo along with closest call debug output
Summary
Adds callerInfo metadata to closest call information in unfound method calls. This is useful in instances where tests may be a bit large or unwieldy, as it makes it much more clear which mock registrations are being referenced by the debug output.
Changes
Just output the existing callerInfo attached to mock registrations.
Motivation
Its a nice quality of life improvement in certain types of projects.