swordmanliuxin 发表于 2006-4-13 09:50:27

Module testing 和 Unit testing

请问一下module testing 和 unit testing 有何不同。个人的感觉是两者讲的是一回事。

archonwang 发表于 2006-4-13 17:44:53

Unit Testing --单元测试         
测试单个的软件组件,属于白盒测试范畴,其测试基础是软件内部的逻辑。

Module Testing
参见:
http://www.testingstandards.co.uk/module_testing.htm

yay 发表于 2006-4-13 17:49:54

一般来讲module testing 应该是属于Integration Testing的范围。Integration Testing是建立在unit testing 的基础上,他的重点就是测module与module之间的关系。Unit testing 是对程序的基本单元进行测试,这里指的Unit并不一定是指一个具体的function或procedure或一个类的method。不过在某些环境下Integration Testing与Unit testing 差别已经不是很大。

firefox82 发表于 2006-4-17 12:51:46

unit testing 使用白盒测试或是白盒+黑盒 测试
Module testing 属于Integration Testing的范围 测试内容是被集成部分之间的接口

arik 发表于 2006-4-17 22:28:59

其实单元测试里面也有包含模块测试,两着有相同点,又有不同点
module testing is concerned with the testing of the smallest piece of software for which a separate specification exists.
这个是模块测试
Unit Testing --单元测试         
测试单个的软件组件,属于白盒测试范畴,其测试基础是软件内部的逻辑。

colicweed 发表于 2006-5-13 16:07:23

同意firefox82的观点!!

jihuli5 发表于 2006-6-5 22:33:46

模块测试是针对概要设计中的一个一个模块来进行测试的,属于集成测试的范围,单元测试是针对详细设计中的组成程序的最小的单元所进行的测试。
知道了集成测试和单元测试的区别,自然就知道了这两个的区别了

achong252159676 发表于 2008-10-27 14:09:57

飘过,谢谢分享
页: [1]
查看完整版本: Module testing 和 Unit testing