News for hackers. Stuff that matters.
Re:What TDD Is Good For by litenboll on Tuesday December 10, 2024 @01:38AM (#42374385)
That's the only type of test I know for sure has value, which makes them easy to write. At work I feel a certain pressure to test more or less everything, but personally I much prefer a "common sense"-approach: Writing tests is motivated by either bugs found (including any issues you run into during the initial implementation) and/or complex operations that are easy to get wrong and could need the extra documentation that tests provide. I dispise aiming for 100% code completion, so much of that is just idealism and wasteful.

There are no comments on this comment yet.