Module testing 和 Unit testing
请问一下module testing 和 unit testing 有何不同。个人的感觉是两者讲的是一回事。 Unit Testing --单元测试测试单个的软件组件,属于白盒测试范畴,其测试基础是软件内部的逻辑。
Module Testing
参见:
http://www.testingstandards.co.uk/module_testing.htm 一般来讲module testing 应该是属于Integration Testing的范围。Integration Testing是建立在unit testing 的基础上,他的重点就是测module与module之间的关系。Unit testing 是对程序的基本单元进行测试,这里指的Unit并不一定是指一个具体的function或procedure或一个类的method。不过在某些环境下Integration Testing与Unit testing 差别已经不是很大。 unit testing 使用白盒测试或是白盒+黑盒 测试
Module testing 属于Integration Testing的范围 测试内容是被集成部分之间的接口 其实单元测试里面也有包含模块测试,两着有相同点,又有不同点
module testing is concerned with the testing of the smallest piece of software for which a separate specification exists.
这个是模块测试
Unit Testing --单元测试
测试单个的软件组件,属于白盒测试范畴,其测试基础是软件内部的逻辑。 同意firefox82的观点!! 模块测试是针对概要设计中的一个一个模块来进行测试的,属于集成测试的范围,单元测试是针对详细设计中的组成程序的最小的单元所进行的测试。
知道了集成测试和单元测试的区别,自然就知道了这两个的区别了 飘过,谢谢分享
页:
[1]