首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象软件多态交互的测试
引用本文:陈达丽,杨根兴.面向对象软件多态交互的测试[J].计算机工程,2008,34(14):29-31.
作者姓名:陈达丽  杨根兴
作者单位:上海计算机软件技术开发中心上海市计算机软件评测重点实验室,上海,200235
摘    要:在面向对象软件测试领域,合理选择测试用例集合,覆盖复杂的多态交互情形,一直是软件测试研究的热点。该文基于pair-wise测试理论,提出一种选择测试用例的贪心算法,该算法可以有效地筛选测试用例,提高测试效率,降低测试成本。并介绍了在多态交互的单元测试框架中使用装饰型设计模式,有效地提高了测试代码的效率。

关 键 词:单元测试  多态性  面向对象
修稿时间: 

Polymorphic Interaction Test in Object-oriented Software
CHEN Da-li,YANG Gen-xing.Polymorphic Interaction Test in Object-oriented Software[J].Computer Engineering,2008,34(14):29-31.
Authors:CHEN Da-li  YANG Gen-xing
Affiliation:(Shanghai Key Laboratory of Computer Software Evaluating and Testing, Shanghai Development Center of Computer Software Technology, Shanghai 200235)
Abstract:To choose test case suits reasonably and cover each polymorphic interaction situation, in the test area of object-oriented software, is a research hotspot. Based on the theory of pair-wise, a kind of greedy algorithm is presented to choose test cases, which may sample test cases efficiently. In testing the algorithm to be applied can make test code more efficient and reduce the cost of test. Also, decorator design pattern applied to test framework is also introduced. Such adoption can make test code more efficient.
Keywords:unit test  polymorphic  object-oriented
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号