摘要
随着汽车控制器软件迭代速度的加快,其对软件质量提出了更高的要求,故软件集成和测试周期短而频繁。持续集成/持续测试(CI/CT)已被认可是尽早发现缺陷的最佳实践。文章分析了汽车嵌入式软件的开发过程,通过引入持续集成测试方法,基于Jenkins搭建软件持续集成测试平台,该平台支持多种开发语言,可以集成调用编译器、模型在环(MIL)测试、硬件在环(HIL)测试等工具链,从而实现软件集成、测试和缺陷通知完全自动化,将软件工程师从重复冗长的集成测试任务中解放出来。持续集成测试在某混合电动汽车(HEV)整车控制器(VCU)软件项目应用以后,可以节省近90%的软件迭代耗时。
As the iteration of automotive embedded software becomes more and more frequent,it poses a higher challenge to software quality,and so software integration and testing cycles become shorter and more frequent.Continuous integration/continus testing(CI/CT)has been acknowledged as the best practice for early detection of defects.This paper analyzes the development process of automotive embedded software,though introducing the method of continuous integration testing,and a software continuous integration testing platform is built based on Jenkins.The platform supports multiple development languages,and can integrate and call the tool chain of compiler,model in loop(MIL)testing,hardware in loop(HIL)testing,etc.,so as to realize the complete automation of software integration,testing and defect notification.Finally,engineers can be free themselves from tremendous software development tasks.After the application of continuous integration and continuous testing methods in a hybrid electric vehicle(HEV)vehicle control unit(VCU)software projects,nearly 90%of the software iteration time can be saved.
作者
王帅
蓝启亮
陈聪
吴光耀
周升辉
WANG Shuai;LAN Qiliang;CHEN Cong;WU Guangyao;ZHOU Shenghui(Product Planning&Automotive New Technology Research Institude,BYD Automobile Industry Company Limited,Shenzhen 518118,China)
出处
《汽车实用技术》
2023年第10期156-162,共7页
Automobile Applied Technology
关键词
持续集成
持续测试分析
软件自动化测试
汽车嵌入式软件
Continuous integration
Continuous testing analysis
Software automated testing
Automotive embedded software