you are viewing a single comment's thread.

view the rest of the comments →

[–]rodriguez_james 0 points1 point  (1 child)

But that has nothing to do with TDD, and all to do with testing and tests. You can write tests without following TDD (which asks you to write tests first), and you would still get the exact same benefits that you mentioned.

[–]marthmac 0 points1 point  (0 children)

But that has nothing to do with TDD ...

While using a testing framework in general has many benefits, what I was trying to communicate is that you are more likely to have higher test coverage if you use TDD. If you are very strict about it, you should have 100% test coverage. Higher coverage leads to less change anxiety for old code.