检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:周毅 王玉婷 方霞 连红森 ZHOU Yi;WANG Yu-ting;FANG Xia;LIAN Hong-sen(AECC Aero Engine Control System Institute,Wuxi 214063,China)
机构地区:[1]中国航发控制系统研究所,江苏无锡214063
出 处:《测控技术》2021年第4期13-16,24,共5页Measurement & Control Technology
摘 要:航空发动机控制软件在升级过程中使用Cantata工具开展单元测试活动时,存在未变更函数的Cantata测试脚本需重新人工隔离插桩导致时间和人力耗费的问题。通过研究Cantata自动生成测试脚本的过程及插桩特点,提出了一种基于C#的Cantata工具变更过程改进方法。该方法通过C#语言结合正则表达式进行代码分析,识别出升级过程中的变更函数和全局变量,并按照Cantata插桩格式,自动完成测试脚本更新工作。详细介绍了该方法的设计过程,并在某型航空发动机控制软件升级过程中进行实践应用。实践结果表明,该方法可准确识别源码信息并完成变更前后的差异比对,能正确快速地实现未变更函数的自动隔离插桩工作,有效解决了人力和时间消耗的问题,对回归测试效率有极大提升。When using the Cantata tool to carry out unit test activities during the upgrade of aero engine control software,there are problems that time and manpower costs caused by manual isolation and insertion of Cantata test scripts with unchanged functions.By studying the process of the Cantata tool to automatically generate test scripts and the characteristics of instrumentation,a C#-based Cantata tool change process improvement method was proposed.Code analysis was performed through C#language and regular expressions,the changed functions and global variables were identified in the upgrade process,and the test script update work was automatically completed follow the Cantata instrumentation format.The design process of this method is introduced in detail,and it is applied to the upgrading process of an aeroengine control software.Practical results show that the method can accurately identify the source code information and complete the difference comparison before and after the change,and can correctly and quickly realize the automatic isolation and insertion of the unchanged functions.It effectively solves the problems of manpower and time consumption,and greatly improves the efficiency of regression testing.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.117.172.41