department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 203 forks source link

Expose Sentry Testkit to localhost #386

Closed cvalarida closed 5 years ago

cvalarida commented 5 years ago

User Story

As a VSP / VSA engineer, I need to see when my code is sending events to Sentry from localhost so I can ensure it's functioning properly even before writing unit tests.

This is especially useful when performing experiments where it may not make sense to write up a whole unit test yet.

Goal

When running the localhost build, we have access to all the events that would have been sent to Sentry without actually sending them there.

Currently, we don't even initialize the Sentry client for localhost.

Acceptance Criteria

For localhost builds:

For other builds:

Definition of Done

alexpappasoddball commented 5 years ago

@cvalarida figure out if this is something that will be beneficial.

cvalarida commented 5 years ago

I asked the larger FE team and there were folks who sounded interested, but I don't know that it's worth our time until somebody runs into a situation where this would be legitimately helpful.