期刊文献+

基于程序路径分析的有效蜕变测试 被引量:16

Effectively Metamorphic Testing Based on Program Path Analysis
下载PDF
导出
摘要 蜕变测试对于预期输出难以构造的程序是实用和高效的.作者在系统研究已有蜕变测试方法和路径分析技术的基础上,首先针对使用二元蜕变关系的测试提出了一组蜕变测试准则,以在多个不同的层次上定义蜕变测试用例集的充分性;然后给出了3种能够生成相应测试用例集的算法;最后通过变异分析的方法证实这些算法的有效性.实验结果表明,蜕变关系和测试准则的选取直接影响到测试的效果,另外,使用蜕变关系全路径覆盖可满足性算法(APCEMST)可以快速准确地发现待测程序中的错误,而生成的测试用例的数量却比传统技术要少. Metamorphic testing is very practical and effective for programs with oracle problems. Much research has been done in this field. Based upon existed methods of metamorphic testing and program path-analysis, the authors first present a set of metamorphic testing criteria for the test with binary metamorphic relations. These criteria define the adequacy of metamorphic test suites at several different levels. Then, three new testing algorithms are given to generate test suites that could satisfy the criteria above. Finally, these algorithms' performances are fully proved with the technique of mutation analysis. The experiment results show that testing effects are greatly decided by the selection of metamorphic relations and testing criteria, and the algorithm APCEMST could detect faults quickly and exactly with fewer test cases than traditional method.
出处 《计算机学报》 EI CSCD 北大核心 2009年第5期1002-1013,共12页 Chinese Journal of Computers
基金 国家杰出青年科学基金项目(60425206) 国家自然科学基金重大研究计划(90818027) 重点项目(60633010) 国家自然科学基金项目(60773104) 国家"八六三"高技术研究发展计划目标导向类项目(2009AA01Z147)资助~~
关键词 软件测试 蜕变测试 oracle问题 蜕变关系 路径覆盖准则 software testing metamorphic testing oracle problem metamorphic relation pathcoverage criterion
  • 相关文献

参考文献30

  • 1Weyuker E J. On testing non-testable programs. The Computer Journal, 1982, 25(4): 465-470
  • 2Chen 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
  • 3Chen 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
  • 4吴鹏,施小纯,唐江峻,林惠民,陈宗岳.关于蜕变测试和特殊用例测试的实例研究(英文)[J].软件学报,2005,16(7):1210-1220. 被引量:13
  • 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

二级参考文献10

  • 1Chen TY, Kuo F-C, Tse TH, Zhou ZQ. Metamorphic testing and beyond. In: O'Brien L, Gold N, Kontogiannis K, eds. Proc. of Int'l Workshop on Software Technology and Engineering Practice (STEP2003). Los Alamitos: IEEE Computer Society Press, 2004. 94-100.
  • 2Chen TY, Tse TH, Zhou ZQ. Fault-Based testing in the absence of an Oracle. In: Tse TH, ed. Proc. of the 25th Annual Int'l Computer Software and Application Conf.(COMPSAC'01). Piscataway: IEEE Computer Society Press, 2001. 172-180.
  • 3Chen TY, Feng JQ, Tse TH. Metamorphic testing of programs on partial differential equations: A case study. In: Yang HJ, ed. Proc. of the 26th Annual Int'l Computer Software and Application Conf. (COMPSAC'02). Piscataway: IEEE Computer Society Press, 2002. 327-333.
  • 4Chen TY, Kuo F-C, Liu Y, Tang A. Metamorphic testing and testing with special values. In: Hu GZ, Huang T, Ni XZ, Zhou AY, eds. Proc. of the 5th ACIS Int'l Conf. on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD 2004). Mt. Pleasant, Michigan: Int'l Association for Computer and Information Science, 2004. 128-134.
  • 5Hu YF, Allan RJ, Maguire KCF. Comparing the performance of JAVA with Fortran and C for numerical computing. Daresbury Laboratory, CCLRC. http://www.dl.ac.uk/TCSC/UKHEC/JASPA/bench.pdf
  • 6Hamlet R. Random testing. In: Marciniak J, ed. Encyclopedia of Software Engineering. New York: Wiley, 1994. 970-978.
  • 7DeMillo RA, Lipton RJ, Sayward FG. Hints on test data selection: Help for the practicing programmer. Computer, 1978,11(4): 34-41.
  • 8Budd TA. Mutation analysis: Ideas, examples, problems and prospects. In: Chandrasekaran B, Radicchi S, eds. Proc. of the Summer School on Computer Program Testing. Amsterdam: North-Holland, 1981. 129-148.
  • 9DeMillo RA, Guindi DS, McCracken WM, Offutt AJ, King KN. An extended overview of the mothra software testing environment. In: Proc. of the 2nd Workshop on Software Testing, Verification, and Analysis. New York: IEEE Computer Society Press, 1988. 142-151.
  • 10Untch RH, Offutt AJ, Harrold MJ. Mutation analysis using mutant schemata. Software Engineering Notes, 1993,18(3):139-148.

共引文献12

同被引文献90

引证文献16

二级引证文献57

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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