51Testing软件测试论坛

标题: 救命啊毕业设计用的,帮忙翻译。。实在感谢 [打印本页]

作者: barcelona    时间: 2006-6-3 11:10
标题: 救命啊毕业设计用的,帮忙翻译。。实在感谢
However, large programs (say, programs of 500 statements or more) require special testing treatment. In this chapter we consider an initial step in structuring the testing of a large program: module testing. Chapter 6 discusses the remaining steps.
Module testing (or unit testing) is a process of testing the individual subprograms, subroutines, or procedures in a program. That is, rather than initially testing the program as a whole, testing is first focused on the smaller building blocks of the program. The motivations for doing this are threefold. First, module testing is a way of managing the combined elements of testing, since attention is focused initially on smaller units of the program. Second, module testing eases the task of debugging (the process of pinpointing and correcting a discovered error), since, when an error is found, it is known to exist in a particular module. Finally, module testing introduces parallelism into the program testing process by presenting us with the opportunity to test multiple modules simultaneously.
The purpose of unit testing is to compare the function of a module to some functional or interface specification defining the module
作者: millionaire    时间: 2006-6-3 18:11
然而,大型程序需要针对性的测试处理过程。在这一章,我们先针对这种大型程序,考虑构建测试的第一步:模块测试。第6章会讨论余下的步骤。
模块测试,或者说是单元测试,是单独测试子问题,子程序以及程序进程的一个流程。也就是说,测试关注程序集中一个个的小的模块,这种方法胜于最初的针对整体的测试。这样做的动力有三重考虑。第一,既然注意力最初放在了更小的程序单元模块上,那么模块测试是处理测试中组合元素的方法;第二,模块测试使调试(查明和更正发现错误的过程)的工作变的轻松,当错误被发现时,它已知的定位在一个特有的模块上。最后,模块测试通过介绍程序测试的类似之处,给了我们这样一个能够同时测试多重模块的机会。
单元测试的目的是为了比较模块功能和模块功能与界面的需求定义。
作者: barcelona    时间: 2006-6-3 23:15
楼上的我感谢你 五体投地。。。 !!!




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2