摘要
类的服务的测试是面向对象软件测试中的重要内容。本文介绍了一种类的服务的测试模型,即服务的块分支图,指出了该模型的两种获取途径,并在此基础上讨论了基本路径测试和功能测试的测试策略,以帮助测试人员比较全面地、有针对性地构造测试用例。本文所讨论的测试模型与测试策略同样适合于结构化程序的单元测试。
The services testing of class is an important component part of object-oriented testing.At the beginning of this paper, we give out a testing model, namely branch block diagram, to testservices of class. Then we point out two ways to obtain the model. After which we propose twostrategy of basis path testing and functional testing to help testers to generate testing cases fromthe model more generally and objectively. What we discussed in this paper is suitable for the unittesting of structural programs also.
出处
《计算机应用》
CSCD
1998年第5期19-22,共4页
journal of Computer Applications
关键词
软件测试
面向对象
测试模型
测试策略
软件开发
Software testing, Object-oriented, Basis path testing, Functional testing.