Doctoral thesis
Cite …

Automatisiertes Testen mobiler Applikationen mit Hilfe von Large Language Models und Reinforcement Learning

Demian Frister ORCID iD icon 1
1 Institute of Applied Informatics and Formal Descriptions Methods (AIFB), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000182620
PDF published on Jun 27, 2025
CC BY-SA 4.0
Abstract

The increasing importance of mobile applications coupled with rising quality requirements necessitates efficient methods for automated software quality assurance.

Aiming at comprehensive quality assurance, this thesis develops an AI-driven testing framework for mobile applications that for the first time combines Large-Language-Models (LLMs) for unit test generation with Reinforcement Learning-based methods for GUI exploration.

The two-phase approach encompasses a training phase for model optimization and fine-tuning of locally executable models, followed by an operational phase for test execution.

The LLM-based white-box component is trained on a specially created dataset and achieves statement coverage of up to 73% using proprietary models.

Local models below 13 billion parameters primarily serve as assistance systems.

The implemented repair strategy eliminates syntactic errors and enables automated improvement and repair of faulty tests.

The RL-based black-box component enables systematic exploration of the user interface through an optimized agent.

A YOLO-based feature extraction accelerates initial training.

The containerized architecture ensures reproducible test conditions and allows flexible integration of various models.

A web-based frontend visualizes test results and enables real-time monitoring of test execution.

The systematic evaluation according to SQuaRE standards demonstrates the effectiveness of the framework for automated quality assurance of mobile applications.

The system enables developers to efficiently generate basic tests, freeing resources for more complex testing scenarios.