3 ms·
Testing internals forces future programmers of the codebase to maintain those invariants. All code is a liability.
by sitkack 9y ago
Testing internals forces future programmers of the codebase to maintain those invariants. All code is a liability.
- hinkley 9y agoNot 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.