Hacker News new | ask | show | jobs
by simplecto 1599 days ago
My side projects can go months without and update. As such I try to do unit tests for my models, controllers, and middleware.

I make sure that stubs exist for functional and end to end tests. That way when I do see bugs come in from sentry I can quickly write tests into the right layer. Usually they are unhandled failures on external requests.