首页> 外国专利> REGRESSION TEST CASE DETERMINING METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM

REGRESSION TEST CASE DETERMINING METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM

机译:回归测试用例确定方法和装置,计算机设备和存储介质

摘要

A regression test case determining method and apparatus, a computer device, and a storage medium. The method comprises: obtaining a test analysis request, wherein the test analysis request comprises the ID of a version to be tested (S201); based on the ID of the version to be tested, obtaining the code of the version to be tested corresponding to the ID of the version to be tested from a code repository (S202); using a version control tool to perform code analysis on the code of the version to be tested so as to obtain a code modification hot region (S203); performing code defect filtering on the code modification hot region to obtain a code defect distribution hot region (S204); and using an analytic hierarchy process to perform analysis on the code modification hot region and the code defect distribution hot region to obtain a target test case (S205). By means of the method, when a regression test is subsequently performed according to the target test case, the repeated redundancy of a workload can be effectively reduced, and unnecessary labor waste is also reduced, and the software quality of the regression test is guaranteed.
机译:回归测试用例确定方法和装置,计算机设备和存储介质。该方法包括:获得测试分析请求,其中,该测试分析请求包括要测试的版本的ID(S201);基于待测试版本的ID,从代码库获取与待测试版本的ID对应的待测试版本的代码(S202);使用版本控制工具对待测试版本的代码进行代码分析,以获得代码修改热点区域(S203);对代码修改热点区域进行代码缺陷过滤,得到代码缺陷分布热点区域(S204);并使用层次分析法对所述代码修改热点区域和所述代码缺陷分布热点区域进行分析,得到目标测试用例(S205)。通过该方法,当随后根据目标测试用例进行回归测试时,可以有效减少工作量的重复冗余,还可以减少不必要的劳动浪费,并保证了回归测试的软件质量。

著录项

  • 公开/公告号WO2020186810A1

    专利类型

  • 公开/公告日2020-09-24

    原文格式PDF

  • 申请/专利号WO2019CN120596

  • 发明设计人 ZHANG MEIYUAN;

    申请日2019-11-25

  • 分类号G06F11/36;

  • 国家 WO

  • 入库时间 2022-08-21 11:09:24

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号