第十四章:测试调试和异常
最后更新于:2022-04-01 15:40:14
Testing rocks, but debugging? Not so much. The fact that there’s no compiler to analyzeyour code before Python executes it makes testing a critical part of development. Thegoal of this chapter is to discuss some common problems related to testing, debugging,and exception handling. It is not meant to be a gentle introduction to test-driven developmentor the unittest module. Thus, some familiarity with testing concepts isassumed.