4 ms·
TDD is not about just catching bugs. TDD is to enable you to change your mind about architecture. If you have a complete suite of unit tests, it's much easier
by stcredzero 18y ago
TDD is not about just catching bugs. TDD is to enable you to change your mind about architecture. If you have a complete suite of unit tests, it's much easier to do major refactorings with confidence.
As far as catching bugs go, real users have no substitute. But you leverage the knowledge of real users by capturing their examples and creating automated tests from them. There's no sense in wearing out human resources by having them do the same things over and over.
- daleharvey 18y agoagreed (kinda) TDD has nothing to do with fixing bugs, bugs are where the program differs from its specification, TDD is about creating that specification, in a way that can be tested.