Automatic Test Case Generation Method for Automotive Electronic Control System Verification
With the development of"software-defined vehicles",the complexity of automotive software functions and the demand for rapid development have imposed higher requirements on the verification of electronic control systems.Currently,the develop-ment of test flow charts for electronic control system software functions mainly relies on manual methods,which are inefficient and susceptible to human factors.This paper details the task and challenges of automatic test case generation in automotive elec-tronic control system verification and proposes an automatic test flow chart generation method based on large language models(LLM)to improve development efficiency and reduce labor costs.The method includes constructing domain task datasets and se-lecting appropriate LLM application routes.The study explores the advantages and disadvantages of two technical routes:tradi-tional language model fine-tuning and LLM API adaptation.Experiments validate the performance of different LLM APIs in test case generation tasks and the effectiveness of prompt engineering techniques in enhancing LLM API performance.In summary,this paper proposes an efficient method for automatically generating automotive test flow charts,demonstrating the potential of LLMs in improving the efficiency of automotive software testing.
Automotive applicationsLarge language modelsPrompt engineering