News for hackers. Stuff that matters.
Re:TDD did not live up to expectations by bluGill on Friday June 30, 2017 @11:08AM (#14671198)
If you are that strict on your definition, yes you cannot TDD when fixing a bug. However all TDD advocates will tell you to write the test for the bug before fixing it. If the code was designed with TDD you will not have to refactor the code to write the test (though the test might be much bigger than it would need to be if the code was designed different). You seem to be describing working with legacy code though, not which is a different situation from TDD.

There are no comments on this comment yet.