Ask HN: What kind of tests do you write for your side projects?

https://news.ycombinator.com/item?id=30141152
by antholeole • 4 years ago
4 5 4 years ago

I have a hobby side project, which I’m quite close to shipping. I started off going for 90% unit tests, but since I’m hacking alone, it ends up taking a bunch of time to keep the tests up to date.

Im thinking of keeping all the old unit tests, but switching to a full integration E2E testing system. This way, I can just text features as opposed to code paths.

By day I work at <insert tech giant here>, and I would never push up code without it being unit tested, so it feels a little painful to ship with only integration tests.

Thoughts? For those of you who’ve shipped small projects, what tests did you find had the most benefit?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com