汽车巡航控制器驾驶性能要求的测试用例生成:工业模拟器的经验
Test Case Generation for Drivability Requirements of an Automotive Cruise Controller: An Experience with an Industrial Simulator
摘要:
汽车软件开发要求工程师测试他们的系统,以检测功能和驾驶性能要求的违规行为。功能需求定义了汽车软件的功能。驾驶性能要求是指驾驶员对与车辆相互作用的感知;例如,它们通常要求将驾驶员感知的加速度和加加速度限制在给定阈值内。虽然研究文献广泛考虑了功能要求,但驾驶性能要求却很少受到关注。这篇工业论文描述了我们的经验,评估自动搜索为基础的软件测试(SBST)框架的有用性,在生成故障揭示测试用例的功能和驾驶性能的要求。我们的经验涉及VI-CarRealTime模拟器,这是一种广泛应用于汽车领域的工业虚拟建模和仿真环境。我们在Simulink中为四轮车设计了一个巡航控制系统,以迭代的方式,通过生产21个模型版本。我们对模型的每个版本使用SBST框架来搜索揭示需求违规的失败揭示测试用例。我们的研究结果表明,SBST框架成功地确定了66.7%的模型版本的故障揭示测试用例,平均需要245.9s和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. Our experience concerns 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。