期刊文献+

基于输出代码行的回归测试集生成方法

Method of Regression Test Set Generation Based on Output Lines of Code
下载PDF
导出
摘要 由于软件产品版本的不断更替、原代码的不断更改,使得测试人员需要具有针对性的回归测试,而目前的方法难以满足这样的需求。提出一种针对输出代码行进行生成回归测试集的方法,该方法通过每个测试用例的运行路径将回归测试集分类,测试用例若通过选定的输出代码行,则被选入测试子集中。此方法考虑代码行输出的功能特性,适用于在小段代码中获取具有针对性的测试集。此外,还将该方法应用于生成基于需求的回归测试集。实例表明,此方法可高效、全面地对已改代码选取回归测试集,能够满足要求严格的回归测试,并具有扩展性。 By reason of the constant turnover of the software version as well as the ceaseless change of the source code,tester needs the regression test with a specific targeted direction.However,the current technical methods are difficult in meeting such requirement.A method generating the test sets of regression test specifically based on the lines of the output code was proposed.The method classifies the test sets of regression test pertinently according to the execution path of each test case.The selection of the test case into the test subset will be made only if the case passes through the selected lines of the output code.Our method roundly takes the output functional properties of code lines into consideration which makes it applicable for obtaining the test sets whit certain pertinence in small block of code.Furthermore,this paper made the application of the method into the generation of the regression test sets based on the user requirements.Some examples show that the selection of regression test sets for modified code through this method can be both efficient and comprehensive,which enables it to suffice the regression test with stringent demand and provide test with expansibility.
作者 丰凯 高建华
出处 《计算机科学》 CSCD 北大核心 2013年第1期171-174,共4页 Computer Science
基金 国家自然科学基金项目(61073163) 上海市科委项目(09220503000) 上海市引进技术的吸收与创新计划(2010CH-014)资助
关键词 回归测试 代码行 选取测试子集 测试需求 Regression test Lines of code Select test subset Test requirement
  • 相关文献

参考文献4

  • 1Black J,Melachrinoudis E,Kaeli D. Bi-criteria Models for Alluses Test Suite Reduction[A].2004.106-115.
  • 2Jeffrey D,Gupta N. Improving Fault Detection Capability by Selectively Retaining Test Cases During Test Suite Reduction[J].IEEE Transactions on Software Engineering,2007,(02):108-123.doi:10.1109/TSE.2007.18.
  • 3Harrold M J,Gupta R,Soffa M L. A Methodology for Controlling the Size of a Test Suite[J].ACM Transactions on Software Engineering and Methodology,1993,(03):270-285.
  • 4Rothermel G,Harrold M J. Analyzing Regression Test Selection Techniques[J].IEEE Transactions on Software Engineering,1996,(08):529-551.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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