Requirements Dependency Driven Test Case Generation: An Automotive Industry Practice
In the automotive sector, integrated hardwaresoftware testing is crucial for ensuring software quality and reducing project costs. However, traditional methods face significant challenges due to the complex, implicit, and difficult-toextract nature of dependencies, which result in low efficiency and high costs in test case generation. To address this issue, this paper proposes an automated test case generation method that combines large language models (LLMs) with formal models to directly extract implicit dependencies from natural language requirement documents and generate integrated test cases. The proposed method leverages LLMs to model natural language requirements into structured flowcharts. It then analyzes these flowcharts to identify hidden dependencies and constructs sequential and temporal constraints for test scenarios. By converting dependencies into constraint equations and solving them using an SMT solver, the method generates input data for hardware devices, achieving fully automated test case generation. In a real-world case study with Beijing Automotive Industry Corporation (BAIC), the method successfully processed 300 functional requirements, extracting a total of 4731 implicit dependencies. The generated flowcharts achieved an accuracy rate of 81.24%, and the test case path coverage reached 82.67%. This significantly enhanced the level of automation in automotive integrated testing.
Fri 5 SepDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
14:00 - 15:20 | Safety-critical SystemsIndustrial Innovation Track / Research Papers at Salon de Actos Chair(s): Stefania Gnesi Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" | ||
14:00 30mPaper | Taxonomy-Guided Reasoning for Requirements Classification: A Study in Aerospace Industry Industrial Innovation Track Yixing Luo Beijing Institute of Control Engineering, Yang Liu Beijing Institute of Control Engineering, Xiaofeng Li Beijing Institute of Control Engineering, Xiaogang Dong Beijing Institute of Control Engineering, Bin Gu Beijing Institute of Control Engineering, Zhi Jin Peking University, Mengfei Yang China Academy of Space Technology | ||
14:30 30mPaper | Specifying Operational Design Domain in Autonomous Driving for Comprehensive Data Evaluation Research Papers Hamed Barzamini , Ramesh S , Arun Adiththan General Motors, Prakash Peranandam General Motors, Mona Rahimi Northern Illinois University | ||
15:00 20mPaper | Requirements Dependency Driven Test Case Generation: An Automotive Industry Practice Industrial Innovation Track Tong Xu , Zheng Zhou , Xiaohong Chen , Zhiyi Xue , Yi Zhao State Key Laboratory for Novel Software Technology, Nanjing University, Min Zhang East China Normal University, Zhi Jin Peking University | ||