News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by sitkack on Friday October 27, 2017 @09:01AM (#15567858)
Testing internals forces future programmers of the codebase to maintain those invariants. All code is a liability.
Re:Write tests. Not too many. Mostly integration by hinkley on Friday October 27, 2017 @12:49PM (#15570084)
Not in my experience. Convincing people to delete tests that only assert one invariant when the business changes its mind is easy. It’s the ones that have residual value after removing one invariant that trap people into spinning their wheels.