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

Method of Regression Test Set Generation Based on Output Lines of Code

在线阅读下载全文

作  者:丰凯[1] 高建华[1] 

机构地区:[1]上海师范大学计算机科学与技术系,上海200234

出  处:《计算机科学》2013年第1期171-174,共4页Computer Science

基  金:国家自然科学基金项目(61073163);上海市科委项目(09220503000);上海市引进技术的吸收与创新计划(2010CH-014)资助

摘  要:由于软件产品版本的不断更替、原代码的不断更改,使得测试人员需要具有针对性的回归测试,而目前的方法难以满足这样的需求。提出一种针对输出代码行进行生成回归测试集的方法,该方法通过每个测试用例的运行路径将回归测试集分类,测试用例若通过选定的输出代码行,则被选入测试子集中。此方法考虑代码行输出的功能特性,适用于在小段代码中获取具有针对性的测试集。此外,还将该方法应用于生成基于需求的回归测试集。实例表明,此方法可高效、全面地对已改代码选取回归测试集,能够满足要求严格的回归测试,并具有扩展性。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.

关 键 词:回归测试 代码行 选取测试子集 测试需求 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象