Skip to main navigation Skip to search Skip to main content

Generating Test Cases with Large Language Model: Frameworks and Challenges

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

Software testing is a fundamental stage in the Software Development Life Cycle (SDLC), indispensable for detecting errors and lowering overall maintenance costs. Automated test generation tools aim to simplify test creation by producing effective, bug-revealing test cases. Recently, Large Language Models (LLMs) trained on code have been applied to unit test generation, showing promising improvements in readability and coverage. Various frameworks have been discussed in this paper, each using LLMs to generate test cases through two different approaches: first, fine-tuning LLMs to generate test cases, and second, prompting LLMs to create test cases. In this study, we review and analyze these frameworks and outline the steps they follow to generate test cases. In addition, we compare their strengths, limitations, highlighting both their similarities and differences to provide insights into current trends and future directions in LLM-based test case generation.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE International Conference on e-Business Engineering, ICEBE 2025
EditorsOmar Khadeer Hussain, Saleem Alsaleem, Shang-Pin Ma, Xin Lu, Kuo-Ming Chao
PublisherInstitute of Electrical and Electronics Engineers
Pages217-222
Number of pages6
ISBN (Electronic)9798331590383
DOIs
Publication statusPublished - 22 Dec 2025
Event21st IEEE International Conference on e-Business Engineering, ICEBE 2025 - Buraydah, Saudi Arabia
Duration: 10 Nov 202512 Nov 2025

Publication series

NameProceedings - 2025 IEEE International Conference on e-Business Engineering, ICEBE 2025

Conference

Conference21st IEEE International Conference on e-Business Engineering, ICEBE 2025
Country/TerritorySaudi Arabia
CityBuraydah
Period10/11/2512/11/25

Keywords

  • Large Language Model
  • Software Testing
  • Test Generation
  • Unit Testing

Fingerprint

Dive into the research topics of 'Generating Test Cases with Large Language Model: Frameworks and Challenges'. Together they form a unique fingerprint.

Cite this