摘要
面向对象软件测试技术的研究是面向对象开发方法不可缺少的一环 .但是面对面向对象技术所引入的新特点 ,传统的测试技术已经无法有效地进行测试 .因此 ,结合传统的测试技术 ,提出了一种新的面向对象软件覆盖度量——基于段的面向对象覆盖度量 (object- oriented segmentcoverage) ,解决了传统的覆盖度量没有考虑到继承和多态等语言特征对面向对象软件测试过程的影响的不足 ,可以比传统的结构化覆盖度量获得更精确的测试覆盖数据 .同时 ,还分析了一个已实现的、具有高度可重用性和灵活性的面向多种
Object-oriented testing activity is indispensable to the development of object-oriented software. For the features of object-oriented software, the traditional testing technology can not be applied directly to object-oriented software efficiently, the test strategy and test methods must be adapted. Based on program partition mechanism, a new object-oriented testing coverage metrics, named object-oriented segment coverage, is proposed in this paper. The object-oriented segment coverage is superior to traditional structural coverage metrics which take no account of the effect of object-oriented features on object-oriented testing coverage. And the architecture of an implemented object-oriented software testing tool of good generality and reusability for many different object-oriented languages is described.
出处
《计算机研究与发展》
EI
CSCD
北大核心
2002年第8期1017-1022,共6页
Journal of Computer Research and Development
基金
国家自然科学基金项目资助 ( 6 0 0 730 2 7)
关键词
面向对象
软件覆盖度量
软件测试工具
软件开发
object-oriented, software testing, coverage metrics, block, node, segment