检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.19.54.41