Testing and Test-Driven-Development

I’m on exercise 47 of Learn Python the Hard Way which covers testing. While reading up on different testing modules, I came across some articles on Test-Driven Development. I had heard of the term before, but didn’t know much about it.

Apparently some benefits of TDD are 1) Greater confidence code is working, 2) Checks that a change didn’t break something else, 3) Forces you to think about unusual circumstances, and 4) Results in more Modular code. I’m sure there are others as well. It seems to be a topic that many people find very important.

I came across some articles that walk through an application of the TDD methodology for an example problem.

Test Driven Development In Python
More Test Driven Development in Python