News for hackers. Stuff that matters.
Re:Unit Testing is Overrated (2020) by pydry on Thursday April 07, 2022 @07:26AM (#30943091)
>You should know what result you want before you even start writing the code.

In theory, but IME about 50% of bugs end up being specification bugs at the high level anyway.

Once you drill down and start writing unit tests on lower levels to imitate higher level APIs that % only goes up.

There are no comments on this comment yet.