-
-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Milestone
Description
The current testing DX is not optimal. We require users to:
-
Start up a Bypass server.
-
Change the DSN in the global Sentry configuration:
Sentry.put_config(:dsn, "https://some:garbage@localhost:#{bypass.port}/<garbage-project-id>")- Run the test.
- Make sure to revert the
:dsnconfiguration to whatever it was before. This is especially important if the config before the test wasdsn: nil, that is, not sending any events.
This approach also forces users to run the tests that use Sentry with async: false, since the dsn configuration is global to the :sentry application.
In this issue, let's gather some ideas on a better API to solve this.
Metadata
Metadata
Assignees
Labels
No labels