软件测试技术在车载TBOX项目中的应用
2020-06-07王敬丽
王敬丽



摘要:为了在短期内完成车载远程信息终端(TBOX)软件的开发,同时保证软件的质量,提高用户满意度,提出了将静态测试和动态测试相结合的测试方法。在编码阶段引入静态测试,采用测试工具分析和人工审查两种方式相结合,关注代码实现的细节。在系统测试阶段,采用黑盒测试方法,关注功能实现情况。实践表明从细节和整体这两个维度对软件进行测试,不仅提高了测试效率,同时也提高了TBOX软件的质量。
关键词:终端;静态分析;代码审查;台架测试;实车测试
中图分类号:TP311 文献标识码:A
文章编号:1009-3044(2020)35-0069-02
开放科学(资源服务)标识码(OSID):
Application of Software Testing Technology in Tbox Project
WANG Jing-li
(The 38th Research Institute of China Electronics Technology Group Corporation, Hefei 230088, China)
Abstract: To complete the development of Telematics Box (TBOX) software in a short time, at the same time to ensure the quality of the software, improve customers satisfaction, a test method combining static test with dynamic test is proposed. In the coding phase, static testing is introduced, which combines test tool analysis and manual review to pay attention to the details of code implementation. In the system testing stage, the black box test method is used to pay attention to the function realization. Practice shows that testing the software from the two dimensions of details and the whole not only improves the testing efficiency, but also improves the quality of TBOX software.
Key words: TBOX; static analysis; code review; bench test; real vehicle test
随着车联网的发展,TBOX作为车辆与平台信息交互的关键设备,其应用将越来越普遍。TBOX通过CAN总线获取整车信息,上传到TSP(Telematics Service Provider)平台,并且可通过手机App实现对车辆的远程控制,TBOX软件的质量好坏直接影响用户的体验。TBOX广泛使用,对软件质量要求更高,软件测试是保证软件质量的一个重要环节。
软件测试的经典定义是在规定的条件下对程序进行操作,以发现程序错误,衡量软件质量,并对其是否能满足设计要求进行评估的过程。按照是否让被测软件运行分为静态测试和动态测试,两者相结合可有效提高软件质量。
1 车载TBOX工作原理
车载TBOX通过CAN网络实现与整车ECU(Electronic Control Unit)交互,实时获取车辆的信息,如里程、电池电量、车速、位置以及故障信息等上传至平台,实现对车辆信息的查询、显示和存储;通过手机App实现对车辆的远程控制,可以……
