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

软件集成测试中的一种用例生成方法
引用本文:王战敏,崔杜武,费蓉,张淳民.软件集成测试中的一种用例生成方法[J].西安交通大学学报,2007,41(12):1427-1430,1502.
作者姓名:王战敏  崔杜武  费蓉  张淳民
作者单位:1. 西安理工大学计算机科学与工程学院,710048,西安
2. 西安交通大学理学院,710049,西安
基金项目:国家自然科学基金;国家自然科学基金
摘    要:针对面向对象语言的多态、动态绑定等特性增加了面向对象软件集成测试难度的问题,提出了一种测试用例的生成方法.首先借鉴正交矩阵测试策略的思想,采用自定义正交矩阵生成算法生成一个二维正交矩阵,再使用鲁棒性测试方法优化生成正交矩阵,最后采用自定义测试用例生成算法为面向对象软件的集成测试生成测试用例集,并将测试用例集用XML文档保存,以备下一步测试用例复用.经验证表明,使用正交矩阵能提高错误检测能力,用其生成的测试用例比较少且方法简单、易于实现.

关 键 词:面向对象软件  集成测试  正交矩阵测试  用例生成方法
文章编号:0253-987X(2007)12-1427-04
收稿时间:2007-02-08
修稿时间:2007年2月8日

Method for Generating Test Cases in Software Integration Testing
Wang Zhanmin,Cui Duwu,Fei Rong,Zhang Chunmin.Method for Generating Test Cases in Software Integration Testing[J].Journal of Xi'an Jiaotong University,2007,41(12):1427-1430,1502.
Authors:Wang Zhanmin  Cui Duwu  Fei Rong  Zhang Chunmin
Abstract:Focusing on the problem that the features of multimode and dynamic binding of object-oriented software increase the difficulty of integration test,a novel method for generating test cases is presented.Firstly benefiting from the idea of OATS(orthogonal matrix testing strategy),a 2D orthogonal matrix is created according to self-defined orthogonal matrix generation algorithm.Then the generated orthogonal matrix is optimized by using robustness test.Finally,the testing case set is created for the object-oriented software integration test using the self-defined test cases generation algorithm,and the cases sets are saved with XML documents for reusing in next step testing.The experiments show that the ability of error detection is improved with orthogonal matrix,the generated cases are less,and the proposed method is simple and easy to be realized.
Keywords:object-oriented software  integration testing  orthogonal matrix testing  case generation method
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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