期刊文献+

基于动态基本块的测试用例约简

Dynamic basic block-based test suite reduction
下载PDF
导出
摘要 缺陷定位技术利用测试用例动态执行的覆盖信息来计算程序中各条语句的可疑度,有效地减少了开发人员排错的工作量。但检查大量的测试输出正确与否是非常困难而且耗时的,因此对测试用例集进行约简成为必要。传统的约简方法大多使用语句覆盖标准,本文提出以动态基本块为覆盖标准,并在此基础上提出2种约简策略来减小测试输入的规模。实验结果证明,新方法可以有效地减少测试输入,并且约简后的错误定位效果几乎不下降。 Fault-localization techniques that utilize dynamic coverage information to calculate suspiciousness for each statement in programs can effectively reduce developers' effort. However, to inspect the results for large number of test inputs is very difficult and time-consuming, so test suite reduction becomes necessary. Traditional reduction techniques mostly use statements coverage criterion, but we proposed a different coverage criterion-dynamic block coverage and two dynamic basic block-based strategies to reduce the size of test inputs. Experiments prove that our approach can effectively reduce test inputs, and the fault-localization effectiveness after reduction almost not decline.
出处 《中国科技论文》 CAS 北大核心 2012年第1期33-41,共9页 China Sciencepaper
基金 国家自然科学基金资助项目(91018005,61170071) 江苏省自然科学基金资助项目(BK2011190)
关键词 测试用例约简 缺陷定位 动态基本块 调试 test suite reduction fault localization dynamic basic block debugging
  • 相关文献

参考文献6

  • 1Agrawal H,Horgan J,London S. Fault localization using execution slices and dataflow tests[A].Toulouse:IEEE Computer Society Press,1995.143-151.
  • 2Renieris M,Reiss S. Fault localization with nearest neighbor queries[A].Montreal:IEEE Computer Society Press,2003.30-39.
  • 3Jones J,Harrold M J. Empirical evaluation of the tarantula automatic fault-localization technique[A].Long Beach:ACM Press,2005.273-282.
  • 4Yu Y,Jones J,Harrold M J. An empirical study of the effects of test-suite reduction on fault localization[A].Leipzig:ACM Press,2008.201-210.
  • 5Hao D,Xie T,Zhang L. Test input reduction for result inspection to facilitate fault localization[J].Automated Software Engineering An International Journal,2010,(01):5-31.
  • 6Baudry B;Fleurey F;Traon Y L.Improving test suites for efficient fault localization[A]上海:ACM Press,200682-91.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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