Automated Validation of Test Cases Using Generative AI: Development of program for generating test cases utilizing generative AI for system requirements in automotive industry

dc.contributor.authorDang, Jarö
dc.contributor.authorGöransson, Daniel
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerTorfah, Hazem
dc.contributor.supervisorRydberg, Jonatan
dc.date.accessioned2025-09-25T08:39:14Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractThis project was provided by Volvo and was intended to help automate their current system of creating validation test cases using generative artificial intelligence (AI). Automation of this system reduces development time and costs while enhancing efficiency. This project covered theories regarding AI, Large Language Model (LLM), prompt engineering, test cases and system requirements. Following an evaluation of available open-source LLMs, the model QWQ-32B was selected. By applying prompt engineering techniques, the model was able to generate not only validation test cases but also executable test code. The program was able to generate adequate results according to Volvo staff. However, the results needs some adjustments in order to be viable for a variety of test cases. Potential improvements, such as the integration of Retrieval-Augmented Generation (RAG), are discussed in this report as future directions to address current limitations. As a result of this project, Volvo has been provided with a solid foundation for automating generation of validation test cases and executable test code.
dc.identifier.urihttp://hdl.handle.net/20.500.12380/310532
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectautomotive
dc.subjectsystem requirement
dc.subjecttest cases
dc.subjectLarge Language Models
dc.subjectLLM
dc.subjectAI
dc.subjectGen AI
dc.subjectRAG
dc.subjectprompt engineering
dc.subjectHIL
dc.titleAutomated Validation of Test Cases Using Generative AI: Development of program for generating test cases utilizing generative AI for system requirements in automotive industry
dc.type.degreeExamensarbete på kandidatnivåsv
dc.type.degreeBachelor Thesisen
dc.type.uppsokM2
local.programmeDatateknik 180 hp (högskoleingenjör)

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 25-21 JD DG.pdf
Storlek:
1.96 MB
Format:
Adobe Portable Document Format

License bundle

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