Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

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!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.