News for hackers. Stuff that matters.
Re:Is TDD Dead? (2014) by ptx on Thursday August 27, 2020 @04:12AM (#24291215)
> Mocking is one tool used for writing tests that do not vary with unrelated implementations

What if I chose the wrong abstractions (coupling things that shouldn't be coupled and splitting things in the wrong places) and have to refactor the implementation to use different interfaces and different parts?

All the tests will be testing the old parts using the old interfaces and will all break.

There are no comments on this comment yet.