You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm integrating Sentry into an existing application, and I want to confirm my application sends expected data to Sentry. A client with a mocked transport layer fits the bill.
Solution Brainstorm
I suggest exposing the TransportMock
It's even duplicated, for exactly the same reason I have: TransportMock is useful for testing a program's interaction with Sentry. The duplicated code has a FIXME comment from :
Problem Statement
I'm integrating Sentry into an existing application, and I want to confirm my application sends expected data to Sentry. A client with a mocked transport layer fits the bill.
Solution Brainstorm
I suggest exposing the
TransportMock
It's even duplicated, for exactly the same reason I have:
TransportMock
is useful for testing a program's interaction with Sentry. The duplicated code has aFIXME
comment from :sentry-go/otel/helpers_test.go
Lines 116 to 122 in e56ac30
cc @tonyo — I think a clear docstring explaining the meaning of
TransportMock
should be clear enough to prevent someone accidentally using it.Happy to open a PR implementing the above and removing the duplication 🙇
The text was updated successfully, but these errors were encountered: