期刊文献+

蜕变测试和断言检查的比较与实验研究(英文) 被引量:2

Experimental Study to Compare the Use of Metamorphic Testing and Assertion Checking
下载PDF
导出
摘要 在软件测试中,测试预言是一种用于检查程序在测试中是否正常运行的机制.然而在某些实际情况下,还无法制定测试预言或者难以有效地应用测试预言.针对此类测试预言问题,蜕变测试于近年应运而生,但蜕变测试的效率问题还没有被充分地加以研究.作者用控制实验的方法研究了使用蜕变测试的成本及效率,进而将蜕变测试和常用的断言检查两种方法的错误检测率和时间成本进行了比较和分析.实验结果表明,相比于断言检查方法,蜕变测试具有检测到更多错误的潜力.通过分析蜕变测试的效率和性能,与断言测试相比,蜕变测试的错误检测率更高效而效率有待提高,可适用于较为粗粒度的测试需求. A test oracle in software testing is a mechanism for checking whether the program under test behaves correctly for any execution. In some practical situations, oracles can be unavailable or too expensive to apply. Metamorphic testing (MT) was proposed to alleviate this problem so that software can be delivered under the time-to-market pressure. However, the effectiveness of MT has not been studied adequately. This paper conducts a controlled experiment to investigate the cost effectiveness of using MT. The fault detection capability and time cost of MT are compared with the standard assertion checking method. The results show that MT has potentials to detect more faults than the assertion checking method. The experimental results also show a trade-off between the two testing methods: MT can be less efficient but more effective, and can be defined at a coarser level of granularity than the assertion checking method.
出处 《软件学报》 EI CSCD 北大核心 2009年第10期2637-2654,共18页 Journal of Software
基金 Supported by the grants of the Research Grants Council of Hong Kong under Grant Nos.111107,717308 the Australian Research Council under Grant No.DP0984760 on Foundations of Software Engineering(SIGSOFT2006/FSE-14)~~
关键词 蜕变测试 断言检查 测试预言 控制实验 实验研究 metamorphic testing assertion checking test oracle controlled experiment empirical evaluation
  • 相关文献

参考文献44

  • 1Hu P, Zhang Z, Chart WK, Tse TH. An empirical comparison between direct and indirect test result checking approaches. In: Proc. of the 3rd Int'l Workshop on Software Quality Assurance (SOQUA 2006), in conjunction with the 14th ACM SIGSOFT Syrup. on Foundations of Software Engineering (SIGSOFT 2006/FSE-14). New York: ACM Press, 2006.6-13. 被引量:1
  • 2Beizer B. Software Testing Techniques. New York: Van Nostrand Reinhold, 1990. 被引量:1
  • 3Weyuker EJ. On testing non-testable programs. The Computer Journal, 1952,25(4):465-470. 被引量:1
  • 4Chen TY, Feng J, Tse TH. Metamorphic testing of programs on partial differential equations: A case study. In: Proc. of the 26th Annual Int'l Computer Software and Applications Conf. (COMPSAC 2002). Los Alamitos: IEEE Computer Society Press, 2002. 327-333. 被引量:1
  • 5Chan WK, Cheung SC, Ho JCF, Tse TH. PAT: A pattern classification approach to automatic reference oracles for the testing of mesh simplification programs. Journal of Systems and Software, 2008. doi: 10.1016/j.jss.2008.07.019. 被引量:1
  • 6Chart WK, Ho JCF, Tse TH. Piping classification to metamorphic testing: An empirical study towards better effectiveness for the identification of failures in mesh simplification programs. In: Proc. of the 31 st Annual Int'l Computer Software and Applications Conf. (COMPSAC 2007), Vol.1. Los Alamitos: IEEE Computer Society Press, 2007.397-404. 被引量:1
  • 7Tse TH, Yau SS, Chan WK, Lu H, Chen TY. Testing context-sensitive middleware-based software applications. In: Proc. of the 28th Annual Int'l Computer Software and Applications Conf. (COMPSAC 2004), Vol.1. Los Alamitos: IEEE Computer Society Press, 2004. 458-465. 被引量:1
  • 8Lu H, Chan WK, Tse TH. Testing context-aware middleware-centric programs: A data flow approach and an RFID-based experimentation. In: Proc. of the 14th ACM SIGSOFT Int'l Symp. on Foundations of Software Engineering (SIGSOFT 2006/FSE-14). New York: ACM Press, 2006. 242-252. 被引量:1
  • 9Chan WK, Chen TY, Lu H, Tse TH, Yau SS. A metamorphic approach to integration testing of context-sensitive middleware-based applications. In: Proc. of the 5th Int'l Conf. on Quality Software (QSIC 2005). Los Alamitos: IEEE Computer Society Press, 2005. 241-249. 被引量:1
  • 10Chart WK, Chen TY, Lu H, Tse TH, Yau SS. Integration testing of context-sensitive middleware-based applications: A metamorphic approach, Int'l Journal of Software Engineering and Knowledge Engineering, 2006,16(5):677-703. 被引量:1

同被引文献27

  • 1吴鹏,施小纯,唐江峻,林惠民,陈宗岳.关于蜕变测试和特殊用例测试的实例研究(英文)[J].软件学报,2005,16(7):1210-1220. 被引量:13
  • 2Naish L,Lee H J,Ramamohanarao K.A model for spectra-based software diagnosis[J].ACM Transactions on Software Engineering and Methodology,2011,20(3):1-32. 被引量:1
  • 3Santelices R,Jones J A.Lightweight fault-localization using multiple coverage types[C]//Proceedings of the 31st International Conference on Software Engineering(ICSE).Vancouver,Canada:IEEE/ACM,2009:56-66. 被引量:1
  • 4Jones J A,Harrold M J,Stasko J.Visualization of test information to assist fault localization[C]//Proceedings of the 24th International Conference on Software Engineering(ICSE).Orlando,USA:IEEE/ACM,2002:467-477. 被引量:1
  • 5Jones J,Harrold M.Empirical evaluation of the tarantula automatic fault-localization technique[C]//Proceedings of the 20th International Conference on Automated Software Engineering(ASE 2005).Long Beach,USA:IEEE/ACM,2005:273-282. 被引量:1
  • 6Abreu R,Zoeteweij P,Van Gemund A.On the accuracy of spectrum-based fault localization[C]//Proceedings of the Testing:Academic and Industrial Conference Practice and Research Techniques-Mutation.Windsor,UK:IEEE,2007:89-98. 被引量:1
  • 7Chen M,Kiciman E,Fratkin E,et al.Pinpoint:Problem determination in large,dynamic internet services[C]//Proceedings of the 32nd IEEE/IFIP International Conference on Dependable Systems and Networks(DSN).Los Alamitos,USA:IEEE/IFIP,2002:595-604. 被引量:1
  • 8Wong W E,Debroy V,Gao R,et al.The DStar method for effective software fault localization[J].IEEE Transactions on Reliability,2014,62(4):290-308. 被引量:1
  • 9Mao Xiao-guang,Lei Yan,Dai Zi-ying,et al.Slice-based statistical fault localization[J].Journal of Systems and Software,2014,89:51-62. 被引量:1
  • 10Korel B,Laski J.Dynamic Program Slicing[J].Information Processing Letters,1988,29(3):155-163. 被引量:1

引证文献2

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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