Test Case Creation Approach using LLM for Android System
Bruno Cerdeira, Hermann Hernani, Luan Marques, Luiz Humberto de Freitas Souza, Silvia M. Ascate, Eliane Collins, André Carvalho · 2025
This research project presents a method to generate functional test cases for new Android features using the Large Language Model (LLM) LLama. The objective is to reduce manual effort and avoid process bottlenecks, benefiting software testing teams and developers. The approach uses LLM-generated prompts based on Android feature specifications for automated test case generation. A feasibility study evaluated 57 test cases, revealing that 19.3% were well-written, 63.2% had acceptable quality, and 26.3% had medium complexity. The research was conducted under contract with the Institute of Technological Development (INDT) and its funded by the R&D program of EMBRAPII for Motorola LTDA/Flextronic Ltda.