Re:TDD did not live up to expectations
by richardknop on Friday June 30, 2017 @06:32AM
(#14669722)
Exactly what I was thinking. The test ends up being written firs this case, before you write/edit the code to fix the bug. So it falls under strict definition of TDD.
There's a bug, you write a test, "this bug shouldn't exist", that test currently fails, then you write just enough code to fix the test, then refactor. That's TDD.