期刊文献+

基于路径分析和迭代蜕变测试的Bug检测 被引量:2

Bug detection methods based on path analyses and iterative metamorphic testing
原文传递
导出
摘要 该文旨在基于白盒测试准则,提出能够在尽量复用测试资源、降低测试成本的前提下有效发现程序中错误的蜕变测试方法。任务关键软件的正确性是信息安全的重要组成部分,对其bug的测试至关重要,但Oracle问题经常制约到此类软件的测试。蜕变测试(MT)能够有效解决此类问题,但随机性较大。该文针对二元蜕变关系,提出了2种迭代的蜕变测试算法AESIST和AEMIST,在依据此2种方法的测试中,上一轮生成的测试用例可以作为下一轮的原始用例而生成新的测试用例,并且所有的测试用例满足蜕变关系全路径覆盖准则(APCEM)。实验结果表明:2种算法产生的测试用例能够在尽量少地运行程序的情况下有效发现程序中的错误。因此,本文提出的2种迭代蜕变测试算法在程序bug检测方面是高效的。 This paper presents metamorphic testing (MT) methods for program bug detection with white-box criterion to reuse more testing resources and reduce cost. The correctness of mission-critical software is an important part of information security. Security systems often use metamorphic testing to solve the oracle problem with random tests. This article introduces two iterative metamorphic testing algorithms, AESIST and AEMIST, to analyze binary metamorphic relationships based upon APCEM (all-path coverage for every metamorphic relation). The test shows the efficiencles of these methods for bug detection.
出处 《清华大学学报(自然科学版)》 EI CAS CSCD 北大核心 2014年第1期60-67,共8页 Journal of Tsinghua University(Science and Technology)
基金 国家自然科学基金资助项目(61100047)
关键词 路径分析 迭代蜕变测试 蜕变关系 bug检测 path analysis iterative metamorphic testing metamorphic relationship bug detection
  • 相关文献

参考文献12

  • 1Chen T Y,Cheung S C,Yiu S M.Metamorphic Testing:A New Approach for Generating Next Test Cases,Technical Report HKUST-CS98-01[R].Hong Kong,China:Hong Kong University of Science and Technology,1998.
  • 2Chen T Y,Kuo F C,Liu Y,et al.Metamorphic testing and testing with special values[C]//Proceedings of the 5th International Conference on Software Engineering,Artificial Intelligence,Networking,and Parallel/Distributed Computing(SNPD'04).Beijing,China:IEEE Computer Society,2004:128-134.
  • 3吴鹏,施小纯,唐江峻,林惠民,陈宗岳.关于蜕变测试和特殊用例测试的实例研究(英文)[J].软件学报,2005,16(7):1210-1220. 被引量:12
  • 4Wu P.Iterative metamorphic testing[C]//Proceedings of the 29th Annual International Computer Software and Applications Conference(COMPSAC'05).Edinburgh,UK:IEEE Computer Society,2005:19-24.
  • 5董国伟,聂长海,徐宝文.基于程序路径分析的有效蜕变测试[J].计算机学报,2009,32(5):1002-1013. 被引量:16
  • 6Chen T Y,Huang D H,Tse T H,et al.Case studies on the selection of useful relations in metamorphic testing[C]//Proceedings of the 4th Ibero-American Symposium on Software Engineering and Knowledge Engineering(JIISIC'04).Madrid,Spain:IEEE Computer Society,2004:569-583.
  • 7Mayer J,Guderlei R.An empirical study on the selection of good metamorphic relations[C]//Proceedings of the 30th Annual International Computer Software and Applications Conference(COMPSAC'06).Chicago,USA:IEEE Computer Society,2006:475-484.
  • 8Chen T Y,Tse T H,Zhou Z Q.Semi-proving:An integrated method based on global symbolic evaluation and metamorphic testing[J].ACM SIGSOFT Software Engineering Notes,2002,27(4):191-195.
  • 9Chen T Y,Tse T H,Zhou Z Q.Fault-based testing without the need of oracles[J].Information and Software Technology,2003,45(1):1-9.
  • 10Chen T Y,Feng J,Tse T H.Metamorphic testing of programs on partial differential equations:A case study[C]//Proceedings of the 26th Annual International Computer Software and Applications Conference(COMPSAC'02).Oxford,England:IEEE Computer Society,2002:327-333.

二级参考文献40

  • 1吴鹏,施小纯,唐江峻,林惠民,陈宗岳.关于蜕变测试和特殊用例测试的实例研究(英文)[J].软件学报,2005,16(7):1210-1220. 被引量:12
  • 2Weyuker E J. On testing non-testable programs. The Computer Journal, 1982, 25(4): 465-470
  • 3Chen T Y, Cheung S C, Yiu S M. Metamorphic testing: A new approach for generating next test cases. Hong Kong University, Hong Kong: Technical Report HKUST-CS98- 01, 1998
  • 4Chen T Y, Kuo F C, Liu Y, Tang A. Metamorphic testing and testing with special values//Proeeedings of the 5th International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD'04). Beijing, China, 2004:128-134
  • 5Wu P. Iterative metamorphic testing//Proceedings of the 29th Annual International Computer Software and Applications Conference (COMPSAC' 05). Edinburgh, UK, 2005 : 19-24
  • 6Dong G W, Nie C H, Xu B W, Wang L L. An effective iterative metamorphic testing algorithm based on program path analysis//Proceedings of the 7th Annual International Conference on Quality Software (QSIC' 07). Oregon, USA, 2007:292-297
  • 7ChenTY, HuangDH, TseT H, Zhou ZQ. Case studies on the selection of useful relations in metamorphic testing// Proceedings of the 4th Ibero-American Symposium on Software Engineering and Knowledge Engineering (JIISIC' 04). Madrid, Spain, 2004:569-583
  • 8Mayer J, Guderlei R. An empirical study on the selection of good metamorphic relations//Proeeedings of the 30th Annual International Computer Software and Applications Conference (COMPSAC'06). Chicago, USA, 2006:475-484
  • 9Chen T Y, Tse T H, Zhou Z Q. Semi-proving: an integrated method based on global symbolic evaluation and metamorphic testing. ACM SIGSOFT Software Engineering Notes, 2002, 27(4) : 191-195
  • 10Chen T Y, Tse T H, Zhou Z Q. Fault-based testing without the need of oracles. Information and Software Technology, 2003, 45(1): 1-9

共引文献21

同被引文献9

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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