软件集成测试中的一种用例生成方法  被引量:4

Method for Generating Test Cases in Software Integration Testing

在线阅读下载全文

作  者:王战敏[1] 崔杜武[1] 费蓉[1] 张淳民[2] 

机构地区:[1]西安理工大学计算机科学与工程学院,西安710048 [2]西安交通大学理学院,西安710049

出  处:《西安交通大学学报》2007年第12期1427-1430,1502,共5页Journal of Xi'an Jiaotong University

基  金:国家自然科学基金重点资助项目(40537031);国家自然科学基金资助项目(40375010;60278019)

摘  要:针对面向对象语言的多态、动态绑定等特性增加了面向对象软件集成测试难度的问题,提出了一种测试用例的生成方法.首先借鉴正交矩阵测试策略的思想,采用自定义正交矩阵生成算法生成一个二维正交矩阵,再使用鲁棒性测试方法优化生成正交矩阵,最后采用自定义测试用例生成算法为面向对象软件的集成测试生成测试用例集,并将测试用例集用XML文档保存,以备下一步测试用例复用.经验证表明,使用正交矩阵能提高错误检测能力,用其生成的测试用例比较少且方法简单、易于实现.Focusing on the problem that the features of multimode and dynamic binding of objectoriented 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 selfdefined 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.

关 键 词:面向对象软件 集成测试 正交矩阵测试 用例生成方法 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象