News for hackers. Stuff that matters.
Re:Ask HN: What kind of tests do you write for your side pro... by simplecto on Sunday January 30, 2022 @04:28PM (#30141317)
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.

There are no comments on this comment yet.