Unit Testing, Test Driven Development
1. Introduction The diagram below comes from Learning Curves (for different programming languages). Although the article is primarily humorous, it shows the author’s attitude towards unit testing. For Python programmers, as experience grows, after mastering unit testing, personal productivity gets a sudden boost (as for mastering decorators, one might feel inflated, but the efficiency improvement is not obvious). Many years ago, just out of school, in the C++ era. A Java expert from former Nortel evangelized to the development team, recommending cpp-unit, saying unit testing “can significantly improve individual combat capability.” Time passes, through many battles, I’ve lost contact with Eddie from Nortel, but his evangelism was clearly successful. I’ve practiced unit testing in different projects: ...