News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration (2017) by Double_a_92 on Friday February 01, 2019 @03:24AM (#19052534)
However if you test too much of your "internal" code, you just end up cementing the currently implemented logic.

I often see tests that are basically checking if the code didn't change. I.e. checking if function calls (on injected (mock) objects) have been done in the exact specific order, instead of checking for some correct end result.

There are no comments on this comment yet.