feldentm-SAP
feldentm-SAP
*Requested feature* If a test makes an unexpected use of a mocked function, the call should result in a stack trace to fasten reaction to that error and help to...
Add stacktrace on fatal exit of mocked call to allow maintainers of tests using this API to understand what is actually going wrong
### Problem SAP would like to encode context information from existing widely-used correlators into tracestate header parts. These correlators use data that is a structured record of raw binary data....
Make identification of unexpected calls easier. Note, this is a copy of https://github.com/uber-go/mock/pull/110 which is miraculously permanently closed.
### Description Currently, shutdown of a tracer requires this wrapper: ``` // Shutdown will flush any remaining spans and shut down the exporter. return tracerProvider.Shutdown return func(ctx context.Context) error {...