Estudio sobre el uso de inteligencia artificial generativa para la generación de casos de prueba en desarrollo software y propuesta de guías

Read full text Summarise with VIRAT
Authors: Graciela Ezcurra Ferrero
Cited by: 0
References: 15

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Este Trabajo Fin de Grado presenta un estudio empírico sobre el uso de la Inteligencia Artificial Generativa, concretamente de Modelos de Lenguaje de Gran Tamaño como ChatGPT, como apoyo en tareas de software testing desde la perspectiva de un tester junior. El objetivo principal es analizar su uso en la práctica y extraer conclusiones sobre su contribución real al proceso de testing de software. El estudio se basa en una serie de sesiones de software testing realizadas en dos con textos distintos: un proyecto de software académico completo y un sistema software real. Durante estas sesiones, el tester utiliza inteligencia artificial generativa para diseñar y ejecutar casos de prueba, proporcionando contexto técnico como fragmentos de código, estructura del sistema y objetivos de testing. Las sesiones se realizan para observar, registrar y analizar la interacción entre el tester y la herramienta, con el fin de identificar patrones de uso, limitaciones y cambios en el enfoque del testing. El trabajo se plantea como un estudio de caso con un único participante, en el que la misma persona actúa como tester e investigadora. Las sesiones siguen un diseño empírico y formativo organizado en dos fases. En la primera fase, la herramienta se utiliza de forma intuitiva, sin formación previa en software testing ni en diseño de prompts. Antes de la segunda fase, el tester estudia de forma autónoma principios de software testing y técnicas de prompting estructurado, utilizando documentación y literatura disponible para refinar el enfoque de trabajo, con especial atención a la planificación y el control del proceso. Esto permite analizar cómo un uso más informado de la inteligencia artificial generativa afecta al proceso de testing. El análisis combina métodos cualitativos, basados en protocolos de verbalización con currente (think aloud), registros de sesión y cuestionarios posteriores, con un análisis cuantitativo descriptivo. Los resultados muestran que la inteligencia artificial generativa no sustituye al tester humano, sino que actúa como un apoyo cognitivo que desplaza el esfuerzo desde la escritura manual de pruebas hacia tareas de análisis, validación y toma de decisiones. Se observan limitaciones, especialmente en sistemas complejos, donde la pérdida de contexto y el sesgo de automatización pueden afectar a la calidad de las pruebas generadas. A partir de las observaciones y conclusiones del estudio, se propone un conjunto de guías prácticas. Estas guías sintetizan estrategias de uso efectivas, errores recurrentes y puntos críticos de interacción, y se contrastan con la literatura científica existente con el fin de situar los resultados dentro del estado del arte. Su objetivo es apoyar a testers junior en el uso estructurado, crítico y consciente de la inteligencia artificial generativa en procesos de software testing. ABSTRACT This Final Degree Project presents an empirical study on the use of Generative Artificial Intelligence, specifically Large Language Models such as ChatGPT, as support for software testing tasks from the perspective of a junior tester. The main objective is to analyse how these tools are used in practice and to extract conclusions about their real contribution to the software testing process. The study is based on a series of software testing sessions carried out in two different contexts: a complete academic software project and a real-world software system. During these sessions, the tester uses generative AI to design and execute test cases, providing the model with technical context such as code fragments, system structure and testing goals. These sessions are conducted to observe, record and later analyse the interaction between the tester and the tool in order to identify usage patterns, limitations and changes in the testing approach. The study is conducted as a single participant case study, with the same individual acting as tester and researcher. The sessions follow an empirical and formative design organised into two phases. In the first phase, the tool is used intuitively, without prior training in software testing or prompt engineering. Before the second phase, the tester independently studies software testing principles and structured prompting, using available documentation and literature to refine the testing approach. The focus is placed on improving planning and control rather than mastering advanced techniques. This allows the analysis of how a more informed use of generative AI affects the testing process. The analysis combines qualitative methods, based on think-aloud protocols, session logs and post-session questionnaires, with a descriptive quantitative analysis. The results show that generative AI does not replace the human tester, but acts as a cognitive support that shifts the effort from manual test writing to analysis, validation and decision-making tasks. Limitations are observed, especially in complex systems, where context loss and automation bias may affect the quality of the generated tests. Based on the observations and conclusions of the study, a set of practical guidelines is proposed. These guidelines synthesise effective usage strategies, recurrent errors and critical points of interaction, and are contrasted with existing scientific literature in order to situate the results within the current state of the art. Their goal is to support junior testers in the structured, critical and conscious use of generative AI within software testing processes.

Fields of Study & Subjects

Software Testing and Debugging Techniques Software Engineering Techniques and Practices Software Engineering Research

Publication details

Journal / source
UPM Digital Archive (Technical University of Madrid)
Publication date
1 January 2026
Language
ES
Document type
Thesis