3 ms·
Fair call, the author does just advocate tests before code rather than "tests as thinking". But oh, there are a ton of people who have tried to use tdd as a de
by zxcmx 9y ago
Fair call, the author does just advocate tests before code rather than "tests as thinking".
But oh, there are a ton of people who have tried to use tdd as a design process (aka test driven design, as opposed to development, I guess). I tried to pick a representative link here: http://agiledata.org/essays/tdd.html http://agiledata.org/essays/tdd.html
"one view of tdd is the goal is specification, not validation", "it's one way to think through your design". It's one position in a spectrum of viewpoints.
Here's another article just for fun: http://www.drdobbs.com/architecture-and-design/test-driven-design/240168102 http://www.drdobbs.com/architecture-and-design/test-driven-d...
- UK-AL 9y agoThe idea is to write tests that match your specs. So your tests literally look like your specs, and then you write code that passes the tests. It should not replace specs.