Test Case Generation for Drivability Requirements of an Automotive Cruise Controller: An Experience with an Industrial Simulator
Authors:
- Federico FormicaFFFederico Formica
- Nicholas PetruntiNPNicholas Petrunti
- Lucas BruckLBLucas Bruck
- Vera PantelicVPVera Pantelic
- Mark LawfordMLMark Lawford
- Claudio MenghiCMClaudio Menghi
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- Model vs system level testing of autonomous driving systems: a replication and extension studyEmpirical Software Engineering, 2023
- Characteristics, potentials, and limitations of open-source Simulink projects for empirical researchSoftware and Systems Modeling, 2021
- A Review of Driving Simulation Technology and ApplicationsIEEE Open Journal of Vehicular Technology, 2020
- Provably-Correct and Comfortable Adaptive Cruise ControlIEEE Transactions on Intelligent Vehicles, 2020
- Falsification of Cyber-Physical Systems Using Deep Reinforcement LearningIEEE Transactions on Software Engineering, 2020
- All-Wheel Drive Electric Vehicle Performance Optimization: From Modelling to Subjective Evaluation on a Static Simulator2019
- Effective fault localization of automotive Simulink models: achieving the trade-off between test oracle effort and fault localization accuracyEmpirical Software Engineering, 2018
- Verification of automotive control applications using S-TaLiRo2012
- Random Testing: Theoretical Results and Practical ImplicationsIEEE Transactions on Software Engineering, 2011
- A Systematic Review of the Application and Empirical Investigation of Search-Based Test Case GenerationIEEE Transactions on Software Engineering, 2009