On Python
Chapter 11 Test-Driven Development
- Test-Driven Development Principles
TDD consists of writing test cases that cover a desired feature, then writing the feature itself. In other words, the usuage examples are written before the code even exists.