模块测试

来源:互联网 发布:linux文件夹重命名命令 编辑:程序博客网 时间:2024/05/18 22:43

Module 就是“模块”的意思,Module Testing 是模块[组件]测试  Module Testing(模块测试) is concerned with the testing of the smallest piece of software for which a separate specification exists.  模块测试是针对概要设计中的一个一个模块来进行测试的,他的重点就是测module与module之间的关系。  Module Tesing (模块测试)和 Unit Testing (单元测试)  Module Testing 和Unit Testing 有相同也有不同,Unit testing 属于白盒测试范畴,是针对详细设计中的组成程序的最小的单元所进行的测试。Module Testing 属于 Integration Testing(集成测试)的范围,测试内容是被集成部分之间的关系。不过在某些环境下Integration Testing与Unit testing 差别已经不是很大。  模块测试的目的是保证每个模块作为一个单元能正确运行,所以模块测试通常又被称为单元测试。在这个测试步骤中所发现的往往是编码和详细设计的错误。