KIT | KIT-Bibliothek | Impressum | Datenschutz

Generating Software Tests for Mobile Applications Using Fine-Tuned Large Language Models

Hoffmann, Jacob 1; Frister, Demian ORCID iD icon 1
1 Institut für Angewandte Informatik und Formale Beschreibungsverfahren (AIFB), Karlsruher Institut für Technologie (KIT)

Abstract:

Motivation. Software tests are a necessity in the development of software to secure functionality, reliability, and usability [10]; however, these tests are costly and time-consuming [6]. Although tool support for software testing has advanced, there remains considerable potential for enhancement. Many software tests are still devised manually, with the creation of unit tests being particularly laborious. Automating the generation of test cases is promising for streamlining this aspect of software testing [6].
Large Language Models (LLMs) have exhibited capabilities in code generation [11, 13--15], test case generation [17], and various other domains [11]. The advancement of model performance of transformer-based LLMs is mainly achieved by expanding the model size in line with an increase in training data size [7, 8]. However, this approach leads to high computational costs which can only be afforded by corporations with significant financial resources. This highlights the need for transformer-based LLMs that perform well on a specific downstream task and are also cost-efficient. Addressing this, we focused on supervised fine-tuning (SFT) of more resource-efficient transformer-based LLMs LLaMA 2 13B, Code Llama 13B, and Mistral 7B for the specific downstream task of generating test cases for mobile applications.
... mehr


Verlagsausgabe §
DOI: 10.5445/IR/1000172036
Veröffentlicht am 26.06.2024
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Angewandte Informatik und Formale Beschreibungsverfahren (AIFB)
Publikationstyp Proceedingsbeitrag
Publikationsdatum 10.06.2024
Sprache Englisch
Identifikator ISBN: 979-84-00-70588-5
KITopen-ID: 1000172036
Erschienen in Proceedings of the 5th ACM/IEEE International Conference on Automation of Software Test (AST 2024), Lissabon, 15th–16th 2024
Veranstaltung 5th 2024 IEEE/ACM International Conference on Automation of Software Test (2024), Lissabon, Portugal, 15.04.2024 – 16.04.2024
Verlag Association for Computing Machinery (ACM)
Seiten 76 – 77
Vorab online veröffentlicht am 15.04.2024
Nachgewiesen in Scopus
Dimensions
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page