testify icon indicating copy to clipboard operation
testify copied to clipboard

mock: log callerInfo along with closest call debug output

Open jdavisclark opened this issue 4 years ago • 0 comments

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.

Related issues

jdavisclark avatar Oct 11 '21 15:10 jdavisclark