期刊文献+

基于多切片最优融合集的故障测试约束构造方法

Method of constructing multi slice fault testing constrains based on optimal fusion set
在线阅读 下载PDF
导出
摘要 针对故障测试约束构造过程相当复杂,计算开销太大,测试用例设计质量不高,不利于广泛运用,提出一种基于多切片最优融合集的故障测试约束构造方法,采用同一切片标准的不同程序切片构造融合度矩阵来度量切片的一致融合度,通过利用切片融合度、路径条件以及软件故障触发与传播的内在机制进而构造某个故障相应的测试约束,可控制测试用例的规模,提高测试用例设计质量。实验结果表明,这种故障测试约束与传统基于谓词约束和必要性约束比较,生成的测试用例规模较小,很少生成无效测试用例,发现Bug的效率很高。 The process of fault testing constraint construction is very complex, with low quality of test case design, high computational overhead and disadvantage of extensive application. Aiming at these problems, a multi slice optimal fusion set fault testing construction method is proposed. Different slices that use the same slicing standard, construct a fusion degree matrix, and then it uses this matrix to measure the consistency. By using the slices degrees of fusion, internal mechanism of route condition and software fault triggering and transmission, it can construct a corresponding test constraint of a cer-tain fault. It can control the scale of the test case and improve the quality. The experimental results show that, by compar-ing with the traditional constraint which is based on predicate and necessity, this kind of fault testing constraint can gene-rate a smaller test case and seldom appear a useless one, the efficiency of finding bugs is high as well.
作者 张屹 潘正军
出处 《计算机工程与应用》 CSCD 2014年第20期264-270,共7页 Computer Engineering and Applications
基金 广州市科研项目(No.08C003)
关键词 程序切片 软件测试 最优融合集 测试约束 program slicing software testing optimal fusion set test constraint
  • 相关文献

参考文献17

  • 1DeMillo R A,Offutt A J.Constraint-based automatic test data generation[J].IEEE Trans on Software Engineering,1999,17(9):900-910.
  • 2Andrews J H,Briand L C,Labiche Y.Is mutation an appropriate tool for testing experiments?[C]//Proc of the 27th Int’l Conf on Software Engineering(ICSE2005).Los Alamitos:IEEE Computer Society Press,2005:402-411.
  • 3Morell L J.A theory of fault-based testing[J].IEEE Trans on Software Engineering,1990,16(8):844-857.
  • 4Voas J M.PIE:a dynamic failure-based technique[J].IEEE Trans on Software Engineering,1992,18(8):717-727.
  • 5陈宗岳,郭斐菁,孙昌爱.失效区域紧致性对适应性随机测试的性能影响(英文)[J].软件学报,2006,17(12):2438-2449. 被引量:6
  • 6Krinke J.Slicing,chopping and path conditions with barriers[J].Sofeware Quality Journal,2004,12(4):339-360.
  • 7Mayer J.Adaptive random testing by bisection with restriction[C]//LNCS 3785:Proc of the 7th Int’l Conf on Formal Engineering Methods(ICFEM2005).Heidelburg:SpringerVerlag,2005:251-263.
  • 8Chen T Y,Merkel R.An upper bound on software testing effectiveness[J].ACM Trans on Software Engineering and Methodology,2008,17(3):1-27.
  • 9Chen T Y,Kuo F C,Merkel R,et al.Adaptive random testing:the ART of test case diversity[J].Journal of Systems and Software,2010,83(1):60-66.
  • 10杨国宁,冯秀芳,樊刘娟.一种基于最优融合集的多传感器数据融合算法[J].软件学报,2012,23(zkl):134-140.

二级参考文献42

共引文献482

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部