一句话:报告在工业仿真器上使用基于搜索的软件测试为汽车巡航控制器的功能与驾驶性需求生成故障揭示测试用例的经验。
汽车软件测试需同时检测功能性需求与驾驶性需求的违规,后者关乎驾驶员对车辆交互的感知,但受到的关注较少。本文是一篇工业经验论文,评估自动化的基于搜索的软件测试(SBST)框架能否为这两类需求生成故障揭示测试用例。作者在工业虚拟建模与仿真环境 VI-CarRealTime 中,以 Simulink 迭代设计四轮车巡航控制系统,共产生 21 个模型版本,并对每个版本运行 SBST 搜索违规测试。结果表明,该框架在 66.7% 的模型版本上成功找到故障揭示测试用例,平均耗时 245.9 秒、3.8 次迭代。文章还总结了经验教训,讨论了结果的泛化性及其对工业实践的改进意义。
Automotive software development requires engineers to test their systems to detect violations of both functional and drivability requirements. Functional requirements define the functionality of the automotive software. Drivability requirements refer to the driver's perception of the interactions with the vehicle; for example, they typically require limiting the acceleration and jerk perceived by the driver within given thresholds. While functional requirements are extensively considered by the research literature, drivability requirements garner less attention. This industrial paper describes our experience assessing the usefulness of an automated search-based software testing (SBST) framework in generating failure-revealing test cases for functional and drivability requirements. We report on our experience with the VI-CarRealTime simulator, an industrial virtual modeling and simulation environment widely used in the automotive domain. We designed a Cruise Control system in Simulink for a four-wheel vehicle, in an iterative fashion, by producing 21 model versions. We used the SBST framework for each version of the model to search for failure-revealing test cases revealing requirement violations. Our results show that the SBST framework successfully identified a failure-revealing test case for 66.7% of our model versions, requiring, on average, 245.9s and 3.8 iterations. We present lessons learned, reflect on the generality of our results, and discuss how our results improve the state of practice.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{FormicaPBPLM23,
title = {Test Case Generation for Drivability Requirements of an Automotive Cruise Controller: An Experience with an Industrial Simulator},
author = {Federico Formica and Nicholas Petrunti and Lucas Bruck and Vera Pantelic and Mark Lawford and Claudio Menghi},
booktitle = {FSE},
year = {2023},
doi = {10.1145/3611643.3613894}
}