检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京航空航天大学计算机科学与技术学院,江苏南京210016 [2]南京大学计算机软件新技术国家重点实验室,江苏南京210093
出 处:《计算机与现代化》2016年第3期46-51,共6页Computer and Modernization
基 金:南京航空航天大学研究生创新基地开放基金资助项目(kfjj201460)
摘 要:在采用函数占用(覆盖)的测试代码用例优先级排序过程中,其特征一般是以函数占用代码率信息表示,容易忽视其他优先排序影响因素,对此提出基于函数占用和需求分析的测试代码用例自适应优先排序方式。首先,以测试代码用例优先级排序过程中的调用函数存在路径为参照,利用源代码信息变更影响,进行影响域的回归测试分析,并对测试代码用例集进行回归范围确定。其次,考虑测试代码用例优先级排序的需求影响因素,并确定其需求优先级评价指标,然后与调用函数源代码变更影响指标进行权重自适应融合,并设计基于函数占用和需求分析评价优先级的动态调整算法。最后,通过仿真对比显示,所提方法可提高缺陷检测正确率,降低测试成本。In the process of using the cover of the test case prioritization,the feature is usually expressed by the code coverage change information,and it is easy to ignore other factors. So an adaptive priority ranking of test cases based on functional occupancy and demand analysis is proposed. Firstly,it takes the reference to the call function in the process of test case prioritization,and uses the impact of the change of source code,then takes the regression testing analysis of the domain and the regression range of the test case set. Secondly,it considers the requirement of test case prioritization,and the requirement of the evaluation index is determined. Then,the weights are adaptively integrated with the call function source code change. Finally,by comparing the simulation results,the proposed method can improve the correct rate of defect detection and reduce the test cost.
关 键 词:代码变更 测试代码用例 排序 回归测试 路径调用 需求分析
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.118.104.28