-
Notifications
You must be signed in to change notification settings - Fork 583
How to test functions with Sentry logging? #4499
Unanswered
jenstroeger
asked this question in
Q&A
-
Hi,
Some of my code under test sends data to Sentry. However, when run under pytest I’d like to capture that data instead of sending it off. I found this hack but it builds on deprecated Sentry code. Couldn’t find any mention of testing in the docs either 🤔
Question: how do I go about unit-testing code that sends data to Sentry?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment