> I love clean and well-written code but to achieve clean code we should be able to refactoring without break our code. This is the point for TDD.
That's also true for vanilla regression tests. There's nothing special that TDD adds in this regard.
That's also true for vanilla regression tests. There's nothing special that TDD adds in this regard.
Take a loot at http://www.ime.usp.br/~aniche/files/tdd-and-design-draft.pdf
What are we supposed to be looking at there? Like most TDD literature I see a lot of assertions, but no evidence to back it up.
Try looking at SEED http://evidencebasedse.com/ . TDD comes out not to bad. Quality correlates very well with # of unit tests regardless of methodology. TDDers tend to have more unit tests. Therefore TDD tends to produce quality code at better rates than other methodologies because it tends to produce more tests.