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

基于组合输入数据情况的测试用例生成算法
引用本文:杜晶,李瑛,张燕红. 基于组合输入数据情况的测试用例生成算法[J]. 计算机与数字工程, 2014, 0(7): 1150-1152
作者姓名:杜晶  李瑛  张燕红
作者单位:海军航空工程学院基础部计算机教研室,烟台264000
摘    要:在软件测试中,测试用例的设计是最关键、耗时最多的环节。单个值情况下的测试用例相对比较简单。当输入数据为组合数据时,为了获取更加全面的测试用例以提高软件测试的准确性,提出一种将判定表设计及人工代码、计算机测试相结合的测试用例设计机制。通过两种算法得出最有效测试用例,该机制能生成比基于状态的完全路径覆盖准则及其搜索算法更优的测试用例集,能更好地覆盖各种组合条件情况,也更适合实际测试时需要连续对软件进行测试的客观情况。实验证明,该方法确实能够提高测试用例设计的全面性及有效性。

关 键 词:软件可靠性  故障注入  软件体系结构  可靠性模型

Software Reliability Based on Fault Injection Mechanism of REST model
DU Jing,LI Ying,ZHANG Yanhong. Software Reliability Based on Fault Injection Mechanism of REST model[J]. Computer and Digital Engineering, 2014, 0(7): 1150-1152
Authors:DU Jing  LI Ying  ZHANG Yanhong
Affiliation:(Teaching and Research Section of Computer in Foundation Sector, Naval Aeronautical and Astronautical University, Yantai 264000)
Abstract:In software testing ,test case design is the most critical and most time consuming part .A single value of test cases is relatively simple .In order to obtain a more comprehensive test cases to improve the accuracy of software testing when the input data for the combination ,the design is put forward that the combination of a decision table and artificial code , and computer test .The most effective test cases are received through two algorithms .The test cases can generate better test suite than full path coverage criterion and its search algorithm based on state ,This mechanism can cover a variety of combi-nation conditions ,and more suitable for actual test need continuous testing software of objective conditions .Experiments show that this method can improve the comprehensiveness and effectiveness of test case design .
Keywords:software reliability  fault injection  architecture  reliability models
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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