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

一种针对交互式软件的测试用例生成模型研究与实现
引用本文:吕格峰,邹北骥,周浩宇,孙家广. 一种针对交互式软件的测试用例生成模型研究与实现[J]. 小型微型计算机系统, 2006, 27(1): 131-135
作者姓名:吕格峰  邹北骥  周浩宇  孙家广
作者单位:1. 湖南大学,计算机与通信学院,湖南,长沙,410082
2. 湖南大学,计算机与通信学院,湖南,长沙,410082;清华大学,计算机科学与技术系,北京,100084
3. 清华大学,计算机科学与技术系,北京,100084
基金项目:国家科技攻关项目;中国科学院重点实验室基金
摘    要:测试用例的自动生成是软件测试的一个重要方面,测试用例生成的复杂度与质量直接影响测试的效率和覆盖面,已有的针对软件功能测试的自动测试理论和方法在针对CAD和图像处理这类人机交互复杂、系统状态繁多的系统时,因复杂度大或者测试效率较低而难以在实际中应用.本文提出的一种针对复杂人机交互软件的测试模型一基于功能对象的测试用例生成模型,将用户使用被测试系统的操作流程看成是若干个处理过程的组合,采用面向对象的思想将用户的操作流程进行分解和封装,构建出用以生成测试流程的功能对象,并依照一定约束条件对功能对象的实例进行重组,派生出测试用例.本文提出的测试用例生成模型,已在三维数字化设计系统的专用测试平台CADTesting中成功实现,实践证明,该模型与现有的一些模型相比,实现复杂度低且测试用例的质量较高.

关 键 词:自动测试  测试用例  功能对象
文章编号:1000-1220(2006)01-0131-05
收稿时间:2004-07-15
修稿时间:2004-07-15

Research on Model of Automated Test Case Generation for Complicated Interactive Software
LV Ge-feng,ZOU Bei-ji,ZHOU Hao-yu,SUN Jia-guang. Research on Model of Automated Test Case Generation for Complicated Interactive Software[J]. Mini-micro Systems, 2006, 27(1): 131-135
Authors:LV Ge-feng  ZOU Bei-ji  ZHOU Hao-yu  SUN Jia-guang
Affiliation:1.College of Computer and Communication, Hunan University, Changsha 410082, China; 2.Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China
Abstract:The automated test case generation is an important aspect of the software testing. The quality of test case directly determines the efficiency and overlay of the testing. While faced with systems such as CAD system or Image Processing system which involve complicated human-machine interactions, it is difficult to generate test case with the existing automated test theory and models. This paper proposed a software testing model which analyzes the user's operating stream and encapsulate it into functional objects with object-oriented theory. Then recombine the functional objects according to certain restrictions to generate test cases. The testing model has been successfully applied to theCAD Testing a special testing platform for CAD system. The experiment results show that the complexity of this new model is lower than the existing test models and the quality of the test case generated is higher.
Keywords:automated testing   test case   functional object
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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