Testing the Untestable? An Empirical Study on the Testing Process of LLM-Powered Software Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Magalhaes, Cleyton, Santos, Italo, Stuart-Verner, Brody, Santos, Ronnie de Souza
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916878907080704
author Magalhaes, Cleyton
Santos, Italo
Stuart-Verner, Brody
Santos, Ronnie de Souza
author_facet Magalhaes, Cleyton
Santos, Italo
Stuart-Verner, Brody
Santos, Ronnie de Souza
contents Background: Software systems powered by large language models are becoming a routine part of everyday technologies, supporting applications across a wide range of domains. In software engineering, many studies have focused on how LLMs support tasks such as code generation, debugging, and documentation. However, there has been limited focus on how full systems that integrate LLMs are tested during development. Aims: This study explores how LLM-powered systems are tested in the context of real-world application development. Method: We conducted an exploratory case study using 99 individual reports written by students who built and deployed LLM-powered applications as part of a university course. Each report was independently analyzed using thematic analysis, supported by a structured coding process. Results: Testing strategies combined manual and automated methods to evaluate both system logic and model behavior. Common practices included exploratory testing, unit testing, and prompt iteration. Reported challenges included integration failures, unpredictable outputs, prompt sensitivity, hallucinations, and uncertainty about correctness. Conclusions: Testing LLM-powered systems required adaptations to traditional verification methods, blending source-level reasoning with behavior-aware evaluations. These findings provide evidence on the practical context of testing generative components in software systems.
format Preprint
id arxiv_https___arxiv_org_abs_2508_00198
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Testing the Untestable? An Empirical Study on the Testing Process of LLM-Powered Software Systems
Magalhaes, Cleyton
Santos, Italo
Stuart-Verner, Brody
Santos, Ronnie de Souza
Software Engineering
Background: Software systems powered by large language models are becoming a routine part of everyday technologies, supporting applications across a wide range of domains. In software engineering, many studies have focused on how LLMs support tasks such as code generation, debugging, and documentation. However, there has been limited focus on how full systems that integrate LLMs are tested during development. Aims: This study explores how LLM-powered systems are tested in the context of real-world application development. Method: We conducted an exploratory case study using 99 individual reports written by students who built and deployed LLM-powered applications as part of a university course. Each report was independently analyzed using thematic analysis, supported by a structured coding process. Results: Testing strategies combined manual and automated methods to evaluate both system logic and model behavior. Common practices included exploratory testing, unit testing, and prompt iteration. Reported challenges included integration failures, unpredictable outputs, prompt sensitivity, hallucinations, and uncertainty about correctness. Conclusions: Testing LLM-powered systems required adaptations to traditional verification methods, blending source-level reasoning with behavior-aware evaluations. These findings provide evidence on the practical context of testing generative components in software systems.
title Testing the Untestable? An Empirical Study on the Testing Process of LLM-Powered Software Systems
topic Software Engineering
url https://arxiv.org/abs/2508.00198