主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

汽车实用技术 ›› 2022, Vol. 47 ›› Issue (1): 201-204.DOI: 10.16638/j.cnki.1671-7988.2022.001.046

• 综述 • 上一篇    

黑盒测试技术在嵌入式软件测试中的融合应用

王 杨   

  1. 陕西汽车集团有限责任公司技术中心
  • 出版日期:2022-01-15 发布日期:2022-01-15
  • 通讯作者: 王 杨
  • 作者简介:王杨,就职于陕西汽车集团有限责任公司技术中心。

Application of Black Box Testing Technology in Embedded Software Testing

WANG Yang   

  1. Shannxi Automobile Group Co., Ltd.
  • Online:2022-01-15 Published:2022-01-15
  • Contact: WANG Yang

摘要: 近些年来,嵌入式软件的规模及复杂程度急剧增大,尤其在国防、轨道交通、汽车、民航 以及工业控制等领域的用户对嵌入式软件质量要求更加严格,使用过程中对嵌入式软件缺陷的容 忍度越来越低。因此,如何有效提高嵌入式软件的质量成为目前迫切需要解决的问题。文章以某 款新能源汽车整车控制策略中的空调控制模块为例,分析了如何将等价类划分法、边界值分析法、 因果图分析法等黑盒测试技术有序高效地融合应用在嵌入式软件测试用例设计之中;文章阐明了 使用不同类型的黑盒测试用例设计方法相互融合的嵌入式软件测试思路,可以有效、有序地设计 出一组可靠性高、执行性强的功能测试用例,从而提高了测试的效率,保证了软件测试的置信度 和软件质量。

关键词: 整车控制策略;嵌入式软件测试;黑盒测试技术;融合应用

Abstract: In recent years, the scale and complexity of embedded software have increased sharply. Especially in the fields of national defense, rail transit, automobile, civil aviation and industrial control, users have stricter requirements on the quality of embedded software, and their tolerance for defects of embedded software has become lower and lower. Therefore, how to effectively improve the quality of embedded software becomes an urgent problem to be solved. Taking the air conditioning control module of a new energy vehicle control strategy as an example, this paper analyzes how the black box test technologies such as equivalence class partition method, boundary value analysis method and cause and effect diagram method are integrated and applied in the design of embedded software test cases; it expounds the organic integration of different black box test methods, which can effectively and orderly design a group of functional test cases with high reliability and strong execution, thus improving the test efficiency and ensuring the test confidence and software quality.

Key words: Vehicle control strategy; Embedded software testing; Black box testing technology; Fusion application