Automatic Generation of vTESTstudio Test Cases from Natural Language Requirements Using Large Language Models

dc.contributor.authorZhao, Tianqi
dc.contributor.authorPan, Shuaixin
dc.contributor.departmentChalmers tekniska högskola / Institutionen för elektrotekniksv
dc.contributor.examinerMonti, Paolo
dc.contributor.supervisorGupta, Siddhant
dc.contributor.supervisorBezerra de Freitas Diniz, André
dc.date.accessioned2026-06-26T10:12:18Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractAutomotive testing still involves substantial manual effort when natural-language requirements are translated into tool-compatible test artefacts. As vehicle functions, carlines and software releases increase, this translation step becomes a growing bottleneck in test development. This thesis investigates a two-phase pipeline for generating vTESTstudio-compatible test artefacts from natural-language automotive requirements using Large Language Models (LLMs). The first phase converts a requirement into a structured intermediate representation of logical test steps. The second phase grounds these steps in valid domain resources, including signals and reusable functions, before constructing the final Vector Test Table (VTT) artefact. This separation makes the generation process easier to inspect, evaluate and control. The thesis further studies retrieval-based grounding, parameter-efficient fine-tuning for intermediate representation generation, and retrieved skill guidance for improving logical planning. On the small evaluation sets used in this thesis, the proposed pipeline produced useful test artefacts in selected cases, but human review remained necessary. This is assessed up to the generated logical test steps and the coverage of the VTT artefacts against reference cases, not their syntactic validity or execution in vTESTstudio or CANoe. Within these limits, retrieval tended to improve grounding indomainness and signal coverage, while fine-tuning improved the validity, consistency and domain style of intermediate representations. Retrieved skills helped planningoriented aspects such as logical adequacy and structural quality, though larger skill contexts could make downstream grounding harder. Overall, the thesis suggests that requirement-driven automotive test generation is more controllable when requirement interpretation, domain grounding and artefact construction are treated as separate stages.
dc.identifier.coursecodeEENX30
dc.identifier.urihttps://hdl.handle.net/20.500.12380/311569
dc.language.isoeng
dc.relation.ispartofseries00000
dc.setspec.uppsokTechnology
dc.subjectAutomotive software testing, Testcase Generation, Large Language Models( LLMs), Retrieval-augmented generation(RAG), Intermediate representation, vTESTstudio, Skill-guided prompting.
dc.titleAutomatic Generation of vTESTstudio Test Cases from Natural Language Requirements Using Large Language Models
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeInformation and communication technology (MPICT​), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
Master_Thesis__Automatic_Generation_of_vTESTstudio_Test_Cases_from_Natural_Language_Requirements_Using_Large_Language_Models rev.pdf
Size:
4.88 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: