Re:I have complicated feelings about TDD
by unrealhoang on Thursday August 18, 2022 @11:16AM
(#32510844)
How to write that one test without the iterative design process? That's something always missing from the TDD guides.
[ Parent
| on HN ]
Re:I have complicated feelings about TDD
by apalumbi on Thursday August 18, 2022 @11:31AM
(#32511047)
TDD is not a testing process. It is a design process. The tests are a secondary and beneficial artifact of the well designed software that comes from writing a test first.
Re:I have complicated feelings about TDD
by fsdghrth3 on Thursday August 18, 2022 @09:17PM
(#32516717)
> TDD is not a testing process. It is a design process.
The article actually discusses whether this is accurate or not. TDD started out as a testing process but got adopted for its design consequences which is why there is a lot of confusion.
Naming it test driven design would have gone a long way to help things and also resulted in less cargo culting. "Have to TDD all day or you don't do TDD"