期刊文献+

面向对象程序蜕变关系构造方法 被引量:3

Method of Metamorphic Relations Constructing for Object-oriented Software Testing
下载PDF
导出
摘要 针对面向对象软件类级测试中蜕变关系构造不充分的问题,提出一种由错误类型指导面向对象程序蜕变关系构造的方法。首先分析类方法中包含的基本操作,根据错误发生位置和作用效果将错误分成3类;其次按照执行效果的不同将类中方法分成两类;再针对错误类型对每个方法分别构造蜕变关系;最后通过Rectangle类的实验对比该方法与其他方法。实验证明提出的由错误类型指导蜕变关系构造的方法的检错率有所提高,并且有助于错误定位。 To solve the question of insufficiency in object-oriented metamorphic relations constructing,a method of metamorphic relations constructing for object-oriented software testing based on error types was proposed.Firstly,the basic operations in every method are analyzed and the faults are divided into three categories according to the location where errors occurred and the effect of errors.Then,the methods can be divided into two types according to the effect of implementation.Metamorphic relations are constructed for each method of every error type.Finally,we compared this method with other methods through the experiment of Rectangle.Experiment results show that new metamorphic relation construction method guided by error type has improved in the error detection rate and is helpful for finding fault location.
出处 《计算机科学》 CSCD 北大核心 2017年第B11期485-489,515,共6页 Computer Science
基金 国家自然科学基金项目(61402525) 河南省科技攻关项目(162102210184)资助
关键词 软件测试 蜕变测试 蜕变关系 变异测试 Software testing Metamorphic testing Metamorphic relation Mutation testing
  • 相关文献

参考文献2

二级参考文献45

  • 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

共引文献16

同被引文献25

引证文献3

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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