期刊文献+

基于路径比较的变异测试方法 被引量:4

Mutation Testing Based on Comparison of Paths
下载PDF
导出
摘要 提出基于路径比较的变异测试方法.首先,通过比较穿越路径判定变异体是否被杀死;然后,建立基于路径覆盖的变异测试数据生成模型,该模型把杀死变异体作为目标,把满足特定路径覆盖作为约束;最后,采用遗传算法求解该模型.将本文方法应用于典型被测程序,结果表明,该方法可以降低变异测试的难度,并提高测试数据的生成效率. This study proposed a mutation testing method based on comparison of paths. First, whether a mutation is killed is determined by comparing the traversed paths;then, a model of test data generation for mutation testing based on path coverage is proposed. In the mathematic model, the objective is to kill the mutation and the constraint is to traverse the chosen path. Finally, we applied the proposed method to some typical programs. The experimental results show that the proposed method can not only reduce the difficulty of mutation testing,but also improve the efficiency of generating test data.
出处 《电子学报》 EI CAS CSCD 北大核心 2012年第1期103-107,共5页 Acta Electronica Sinica
基金 国家自然科学基金(No.61075061) 高等学校博士学科点专项科研基金(博士生导师类)(No.201000951100006) 江苏省自然科学基金(No.BK2010187) 武汉大学软件工程国家重点实验室开放基金(No.SKLSE2010-08-19) 中国矿业大学青年科技基金(No.2008A034)
关键词 变异测试 路径比较 测试数据 遗传算法 mutation testing path comparison test data genetic algorithm
  • 相关文献

参考文献18

  • 1R G Hamlet. Testing programs with the aid of a compiler[J]. IEEE Trans on Software Engineering, 1977,3 (4) : 279 - 290.
  • 2单锦辉,高友峰,刘明浩,刘江红,张路,孙家骕.一种新的变异测试数据自动生成方法[J].计算机学报,2008,31(6):1025-1034. 被引量:20
  • 3W E Howden. Weak mutation testing and completeness of test sets[J]. IEEE Transactions on Software Engineering, 1982, 8 (4) :371 - 379.
  • 4巩敦卫,张岩.一种新的多路径覆盖测试数据进化生成方法[J].电子学报,2010,38(6):1299-1304. 被引量:32
  • 5任子武,伞冶.实数遗传算法的改进及性能研究[J].电子学报,2007,35(2):269-274. 被引量:42
  • 6A J Offutt. Automatic test data generation[ D ]. Atlanta: Georgia Institute of Technology, 1988.
  • 7A J Offutt,Z Jin,J Pan. The dynamic domain reduction proce- dure for test data generation[ J ]. Software, Practice and Experi- ence, 1999,29(2) : 167 - 193.
  • 8L M Zhang, T Xie,L Zhang, et al. Test generation via dynamic symbolic execution for mutation testing [ A ]. Proceedings of IEEE. International Conference on Software Maintenance [ C ]. Timisoara: IEEE Press,2010.1 - 10.
  • 9B H Smith, L Williams. On guiding the augmentation of an au- tomated test suite via mutation analysis[ J ]. Empirical Software Engineering, 2009,14(3) : 341 - 369.
  • 10H Do, G Rothermel. On the use of mutation faults in empirical assessments of test case prioritization techniques [ J ]. IEEE Trans on Software Engineering,2006,32(9):733- 752.

二级参考文献40

  • 1范瑜,金荣洪,耿军平,刘波.基于差分进化算法和遗传算法的混合优化算法及其在阵列天线方向图综合中的应用[J].电子学报,2004,32(12):1997-2000. 被引量:44
  • 2邱晓康,李宣东.一个面向路径的软件测试辅助工具[J].电子学报,2004,32(F12):231-234. 被引量:11
  • 3夏辉,宋昕,王理.基于Z路径覆盖的测试用例自动生成技术研究[J].现代电子技术,2006,29(6):92-94. 被引量:11
  • 4Chen Y,Zhong Y.Automatic path-oriented test data generation using a multi-population genetic algorithm[A].Proceedings of the 4th International Conference on Natural Computation[C].Jinan,China:IPICNC,2008.566-570.
  • 5Sofokleous A A,Andreou A S.Automatic,evolutionary test data generation for dynamic software testing[J].The Journal of Systems and Software,2008,81(11):1883-1898.
  • 6Pajappa V,Biradar A,Panda S.Efficient software test case generation using genetic algorithm based graph theory[A].Proceedings of the 1st International Conference on Emerging Trends in Engineering and Technology[C].Nagpur,India:IPICETET.2008.298-303.
  • 7Bouchachia A.An immune genetic algorithm for software test data generation[A].Proceedings of the 7th International Conference on Hybrid Intelligent Systems[C].Washington,DC,USA:IP IC HIS,2007.84-89.
  • 8Ahmed M A,Hermadi I.GA-based multiple paths test data generator[J].Computer & Operations Research,2008,35(10):3107-3124.
  • 9David W Binkley.FlagRemover:A testability transfor-mation for transforming loop assigned flags[J].ACM Transactions on Software Engineering and Method-ology,2009,2(3):110-146.
  • 10Leung F H F,Lam H K,Ling S H,Tam P K S. Tuning of the structure and parameters of a neural network using an improved genetic algorithm[ J]. IEEE Tram on Neural Networks,2(1)3,14 (1) :79 - 88.

共引文献90

同被引文献121

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:49
  • 2Zhu H, Hall P, May J. Software unit test coverage and ade- quacy[J]. ACM Computing Survey, 1997, 29(4): 366-427.
  • 3Andrews J H, Briand L C, Labiche Y. Is mutation an appro- priate tool for testing experiments? [C]//Proceedings of the 27th International Conference on Software Engineering (ICSE '05), St Louis, Missouri, 2005. New York, NY, USA: ACM, 2005: 402-411.
  • 4Do H, Rothermel G. On the use of mutation faults in empiri- cal assessments of test case prioritization techniques[J]. IEEE Transactions on Software Engineering, 2006, 32(9): 733-752.
  • 5Hamlet R G. Testing programs with the aid of a compiler[J]. IEEE Transactions on Software Engineering, 1977, 3(4): 279-290.
  • 6DeMillo R A, Lipton R J, Sayward F G. Hints on test data selection: help for the practicing programmer[J]. Computer, 1978, 11(4): 34-41.
  • 7King K N, Offutt A J. A Fortran language system for muta- tion based software testing[J]. Software: Practice and Expe- rience, 1991, 21(7): 685-718.
  • 8Delamaro M E, Maldonado J C. Proteum-a tool for the assessment of test adequacy for C programs[C]//Proceedings of the Conference on Performability in Computing Systems (PCS '96), New Brunswick, New Jersey, 1996: 79-95.
  • 9Ma Y S, Offutt A J, Kwon Y R. MuJava: an automated class mutation system[J]. Software Testing, Verification and Reli- ability, 2005, 15(2): 97-133.
  • 10Smith B, Williams L. On guiding the augmentation of an automated test suite via mutation analysis[J]. Empirical Soft- ware Engineering, 2009, 14(3): 341-369.

引证文献4

二级引证文献35

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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