期刊文献+

面向对象软件的测试用例自动再生成方法

Application of Test Case Regeneration to Object-oriented Software
下载PDF
导出
摘要 现有测试用例自动生成研究中,通常假定无测试用例可供参考,直接由被测软件的源代码或需求规格说明生成满足测试充分性要求的测试用例。论文提出一种基于序列模式挖掘技术的面向对象软件测试用例自动再生成方法,通过挖掘测试用例库获取常用的方法调用子序列作为序列模式,并以所得序列模式为基础构建新的测试用例。实验结果表明采用该方法能够生成有效且可读性良好的测试用例。 For object-oriented software with test repositories,the method invocations of existing test cases can be utilized toguide automated test generation. As a result,the effectiveness and readability of test cases can be enhanced. Thus,this paper pres-ents a strategy to regenerate test cases via mining test repositories. More specifically,sequential pattern mining is employed to ob-tain frequently-used subsequences of method invocations as sequential patterns from corresponding test repositories,and then newtest cases are derived on the basis of the sequential patterns. Empirical results show that this strategy can help to produce new testcases with good readability.
作者 陈双 徐望
机构地区 [ [
出处 《舰船电子工程》 2017年第12期111-117,共7页 Ship Electronic Engineering
关键词 面向对象软件 序列模式挖掘 演化测试 测试用例再生成 object-oriented software sequential pattern mining evolutionary testing test case regeneration
  • 相关文献

参考文献3

二级参考文献30

  • 1SteveFreemanNatl'ryce测试驱动的面向对象软件开发.北京:机械工业出版社,2010.
  • 2徐中伟.面向对象软件分析设计与测试[J].计算机工程与应用,2002,.
  • 3Agrawal R,Srikant R.Mining Sequential Patterns[C]//Proc.ofICDE’95.[S.l.]:IEEE Computer Society,1995.
  • 4Agrawal R,Srikant R.Mining Quantitative Association Rules inLarge Relational Tables[C]//Proc.of the ACM SIGMODConference Management of Data.Montreal,Canada:[s.n.],1996.
  • 5Agrawal R,Srikant R.Mining Sequential Patterns:Generalizationsand Performance Improvements[C]//Proc.of EDBT’96.Avignon,France:[s.n.],1996.
  • 6Zaki M J.SPADE:An Efficient Algorithm for Mining FrequentSequences[J].Machine Learning,2001,42(1):31-60.
  • 7Han Jiawei,Pei Jian,Mortazavi-Asl B.FreeSpan:Frequent Pa-ttern-projected Sequential Pattern Mining[C]//Proc.of KDD’00.Boston,USA:[s.n.],2000.
  • 8Pei Jian,Han Jiawei,Mortazavi-Asl B,et al.Mining SequentialPatterns by Patten-growth:The Prefix Span Approach[J].IEEETrans.on Knowledge and Data Engineering,2004,16(11):1424-1440.
  • 9Ayres J,Gehrkeetal J.Sequential Pattern Mining Using a BitmapRepresentation[C]//Proc.of the 8th ACM SIGKDD InternationalConf.on Knowledge Discovery and Data Mining.Edmonton,Alberta,Canada:[s.n.],2002.
  • 10Afshar R.Mining Frequent Max and Closed Sequential Pa-tterns[D].Burnaby,Canada:School of Computing Science,SimonFraser University,2002.

共引文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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