测试不等同于调试,各自都有自己的概念集和方法论. Test:examine input/output pairs. 调试:定位,修改. 但如果能做到错误异常的准确定位,调试的一半以上的工作已经完成了. 测试共分两种: unit testing(单元测试) functions classes integration testing(集成测试) overrall program Test suite(测试集):small enough so that we can test it in a reas…