检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘晗熠 张亚东[1,2] 饶畅 郭进 LIU Hanyi;ZHANG Yadong;RAO Chang;GUO Jin(School of Information Science and Technology,Southwest Jiaotong University,Chengdu 611756,China;Sichuan Province Train Operation Control Technology Engineering Research Center,Chengdu 611756,China;College of Traffic and Transportation,Chongqing Jiaotong University,Chongqing 400074,China)
机构地区:[1]西南交通大学信息科学与技术学院,成都611756 [2]四川省列车运行控制技术工程研究中心,成都611756 [3]重庆交通大学交通运输学院,重庆400074
出 处:《铁道标准设计》2024年第6期214-220,共7页Railway Standard Design
基 金:四川省科技计划项目(2021YJ0070);中央高校基本科研业务费专项资金资助项目(2682022ZTPY084);中国国家铁路集团有限公司科技研究计划课题(N2018G062,K2018G011)。
摘 要:车载设备作为列控系统的关键设备之一,其测试需求在不断迭代。测试案例重构通过更新原有组合测试集覆盖变更的测试需求,实现对测试案例的高效重用,对生成演化后的测试集具有重要意义。根据车载设备输入模型的变化情况,提出一种基于模型演化的测试集重构方法。首先,通过比较演化前后组合模型的差异性,辨识出失效和新增的测试需求,并结合测试参数、参数取值、约束可能出现的演化情况分析两类测试需求的具体构成;其次,基于演化后的组合模型,依次采取修改、扩充、新增3个步骤重构原有测试集,修改不满足变更测试需求的原有案例,扩充新增参数取值,新增案例覆盖剩余测试需求;之后,根据约束间的相容性,将互不干扰的多条约束置于1条测试案例集中处理以精简测试集;最终,得到完备覆盖所有演化后测试需求的组合测试集。以车载设备模式转换等3种场景为例,对本方法进行了验证,研究结果表明:相较于现有方法,本方法能更充分地重用原有案例,测试集总体重合度提高了7.82%,后续人工修改测试案例文档的工作量相应减少,时间成本可降低18.26%。Onboard equipment is one of the key equipment of the train control system,and its test requirements are constantly iterating.Test case refactoring achieves efficient reuse of test cases by updating the original combinatorial test suite to cover changed test requirements,which contributes to generating the evolved test suite.According to the change of two input models of the onboard equipment,a model evolution approach is proposed to refactor tests.First,by comparing the differences between original and evolved combinatorial models,invalid and additional test requirements are identified,and the specific composition of these two types of test requirements is analyzed with the possible evolution of test parameters,parameter values,and constraints.Next,the original test suite is sequentially refactored by modifying,expanding and adding based on the evolved combinatorial model,which specifically means modifying the original cases that fail to meet the changed test requirements,expanding values of new parameters,and adding new cases to cover the remaining test requirements.Then,to realize the test suite reduction,multiple non-interfering constraints are put into one test case for centralized processing according to the compatibility between constraints.Finally,a combinatorial test suite covering all evolved test requirements is achieved.Three scenarios,including the onboard equipment working mode transition scenario,are used to verify the effectiveness of the approach.The results show that,compared with the existing approaches,more parts of original cases are reused and the overall coincidence degree of the test suite has increased by 7.82%,which correspondingly reduces the workload of subsequent manual modification of test case documents,therefore the time cost can be reduced by 18.26%.
关 键 词:列控系统 车载设备 组合测试 测试案例重构 模型演化
分 类 号:U284[交通运输工程—交通信息工程及控制]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.137.210.249