首页 | 官方网站   微博 | 高级检索  
     

带参数约束的两两组合测试用例集生成方法
引用本文:李龙澍,张薇.带参数约束的两两组合测试用例集生成方法[J].计算机工程,2012,38(11):53-55.
作者姓名:李龙澍  张薇
作者单位:安徽大学计算机科学与技术学院,台肥,230039
基金项目:安徽省自然科学基金资助项目,安徽省重大科技专项基金资助项目
摘    要:大多数待测软件系统的参数间存在约束关系,如果不考虑这些约束,会使测试用例集中的某些组合无效。为此,提出一种带参数约束的两两组合测试用例集生成方法。在采用回溯算法对解空间树进行遍历的同时,利用参数间的约束关系对树的枝叶进行裁剪,避免产生无效的测试用例。使用贪心算法补充生成测试用例,以满足两两组合覆盖标准。实验结果表明,该方法能减少测试用例生成数量,提高测试效率。

关 键 词:组合测试  解空间树  参数约束  测试集  测试用例
收稿时间:2011-10-17

Generation Method of Pairwises Combinatorial Test Case Set with Parameter Constraint
LI Long-shu , ZHANG Wei.Generation Method of Pairwises Combinatorial Test Case Set with Parameter Constraint[J].Computer Engineering,2012,38(11):53-55.
Authors:LI Long-shu  ZHANG Wei
Affiliation:(College of Computer Science and Technology,Anhui University,Hefei 230039,China)
Abstract:There exist constraint relations among parameters for most of the software system under test.If these relations are not taken into account,some of the combinations in the test suite make no sense.Therefore this paper proposes a combination test method in presence of parameter constraints.The method uses backtracking algorithm to traverse the tree and meanwhile the branches of solution space tree are cut using the constraint relations among parameters to avoid invalid test cases.Then some test data is added into the test case by a greedy algorithm to cover all the uncovered pairs.Experimental result shows that this method can reduce the generation number of test cases,and improve the efficiency of test.
Keywords:combinatorial test  Solution Space Tree(SST)  parameter constraint  test set  test case
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号