Comment

Comment by ____nope

You write tests to automate tests you would have to otherwise perform manually. That is the only reason tests exist, to automate the boring task of testing.

That's one problem with the TDD mindset. If you start by looking for things to test, you might come up with unlikely scenarios or cases that don't matter much for your user.

parent ____nope 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton