News for hackers. Stuff that matters.
Re:Unit Testing is Overrated (2020) by pydry on Thursday April 07, 2022 @09:37AM (#30944258)
The latter. Also misunderstandings about APIs. IME these combined are usually something like 70% of all bugs so the ROI on unit tests is not particularly high.

I find integration tests paired with BDD do a good job of catching "code plain wrong" bugs as well as misused APIs and misunderstood specs. They're harder to build and run slower but the ROI is still higher.

There are no comments on this comment yet.