基于模型测试汽车自动化控制系统对照研究
2020-09-30段少勇



摘要:在汽车行业,随着ECU增加的复杂性,需要创建便于早期测试以确保功能的模型,但对于如何编写这些测试以获得最大覆盖范围几乎没有指导。文章评估了原型CANoe+,它从软件开发人员和软件测试人员的角度出发,使用CANoe和(GraphWalker工具Vs CANoe关于生成测试用例的覆盖范围最大化。实验通过使用Mann-Whitney-Wilcoxon统计检验时,CANoe+比单独使用顯着更有效,这些结果加强了现有证据,证明使用基于模型的测试技术(如CANoe+)在汽车系统中使用CANoe等测试方法的优越性。
关键词:EUC;最大覆盖;CANoe;GraphWalker工具
中图分类号:U467.1+3
文献标识码:A
文章编号:1001-5922(2020)08-0179-04
Comparative Study on Automated Control System Based onModel Testing
DUAN Shao-yong
(Yangling Vocational & Technical College,Yangling Shaanxi 712IOO.China)
Abstract : In the automotive industry,with the added complexity of ECUs,there is a need to create models that facili-tate early testing to ensure functionality,but there is little guidance on how to write these tests for maximum cover-age.This article evaluates the prototype CANoe+.which uses CANoe and the GraphWalker tool Vs CANoe to maxi-mize the coverage of the generated test cases from the perspective of software developers and software testers.Ex-periments Using the Mann-Whitney-Wilcoxon statistical test.CANoe+is significantly more efficient than using italone.These results reinforce existing evidence and demonstrate the use of model-based testing techniques such asCANoe+for CANoe testing in automotive systems. The superiority of the method.
Key Words : EUC;Maximum Coverage;CANoe;GJraphWalker Tool
1概述
如今,随着电子控制单元( Electronic ControlUnits,ECU)中的软件变得越来越复杂,汽车行业对高效测试过程的需求日益增加。ECU是任何控制汽车中一个或多个电气系统或子系统的嵌入式系统的通用术语,行业内专家已经提出了基于自动化模型的软件测试,但是由于所构建系统的复杂性,生成自动化测试用例是很巨大的挑战[1]。考虑到这一点,创建一种方法使开发人员能够使用图论理论技术对期望系统的行为进行建模,并生成自动化测试用例实现系统功能测试的智能化。
该系统主要2种工具(即CANoe[2]和GraphWalker[3])的优势生成和执行最大覆盖范围的测试用例,并成功应用于汽车行业。通过最大覆盖范围,可表示系统的功能由生成的测试用例执行多少来确定。这将通过使用模型来验证系统要求,并验证被测系统是否满足客户的需求;此外,本文所提出的假设是,从长远来看,这种方法将降低了回归测试的成本,开发人员的努力将被引导至探索性和负面测试。……
