4 ms·
I learned TDD as a development method. Too many people imagine TDD is about testing. It's explained right there on the cover Test *Driven* Development. Not a t
by njharman 4y ago
I learned TDD as a development method. Too many people imagine TDD is about testing.
It's explained right there on the cover Test *Driven* Development. Not a testing method. A development process guided by unit "tests". In quotes as unit tests are at least 51% about forcing you to write small, isolated blocks of code with well defined and simple interfaces. Units. A large percentage of remainder is enabling ruthless refactoring (refactoring being a huge part of TDD's development practice/philosophy) by ensuring you have not violated those interfaces. Only a few percent is actually about having "correct" code.
- garethrowlands 4y agoThis is one motivation for BDD - it doesn't contain 'test' in the title, so it's easier to explain that it's a development method.