News for hackers. Stuff that matters.
Re:TDD did not live up to expectations by heifer2822 on Thursday June 29, 2017 @02:32PM (#14665736)
It's TDD. Just because the whole app wasn't developed with TDD doesn't mean you can't test drive a bug fix.

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.

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.