...
Drawio | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The idea was really simple. Workout the input values, specify the expected output values, and functionally decompose the process element using Jackson type elements. Today we've replaced the phrase "functionally decompose" with the phrase "refactor".
Look, I don't want you to get it into your head that I'm pushing for us to go back to structured techniques. I've been an OO developer since 1989 when Borland release its first C++ compiler, Turbo C++. What I am showing you is that the concept of test first, code second isn't new.
What is different is the incremental iterative approach to building out the landscape. Also, in the structured model, you would attempt to define all the input and output values before any coding could be done. Not so with TDD. Instead, everything is done incrementally and iteratively. Even the identification of the tests.