<?xml version="1.0"?>
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>Generating test cases for automotive requirement testingusing rag</dc:title><dc:creator>Krepek,	Matic	(Avtor)
	</dc:creator><dc:creator>Klančnik,	Simon	(Mentor)
	</dc:creator><dc:creator>Dvoršek,	Nejc	(Komentor)
	</dc:creator><dc:subject>automotive requirements validation</dc:subject><dc:subject>test case generation</dc:subject><dc:subject>large Language Models</dc:subject><dc:subject>Retrieval-Augmented Generation</dc:subject><dc:description>The automotive industry is increasingly confronted with challenges in managing complex requirements and test cases arising from the integration of advanced electronic systems, software functionalities, and compliance with international standards. Conventional manual validation of requirements is time-consuming, error-prone, and resource-intensive, underscoring the need for more efficient and reliable approaches. This thesis investigates the automation of test case generation through the application of Retrieval-Augmented Generation (RAG) in combination with Large Language Models (LLMs). A complete RAG workflow was implemented in Python, incorporating LangChain, LangGraph, Ollama, and ChromaDB to facilitate indexing, retrieval, and generation. The system was trained and evaluated on datasets comprising automotive requirements and test cases, with experiments examining embedding quality, retrieval strategies, prompt engineering techniques, and generative model parameters. The results demonstrate that RAG is capable of generating high-quality, contextually relevant test cases on consumer-grade hardware, thereby significantly enhancing efficiency, consistency, and productivity relative to manual methods. Furthermore, the findings suggest that RAG-based systems are best positioned as complementary tools that support, rather than replace, human engineers. This research provides a foundation for future work on hybrid retrieval methods, advanced embedding techniques, and the integration of more powerful LLMs into requirement and test case management processes.</dc:description><dc:publisher>[M. Krepek]</dc:publisher><dc:date>2025</dc:date><dc:date>2025-09-04 17:17:48</dc:date><dc:type>Magistrsko delo/naloga</dc:type><dc:identifier>95104</dc:identifier><dc:identifier>UDK: 629.3.05.018(043.2)</dc:identifier><dc:identifier>COBISS_ID: 258059779</dc:identifier><dc:language>sl</dc:language></metadata>
