ACM Transactions on Software Engineering and Methodology· 2026Q1
LLMCFG-TGen: Kullanım Durumlarından Otomatik Olarak Test Durumları Oluşturmak İçin LLM Tarafından Üretilen Kontrol Akış Grafikleri Kullanımı
LLMCFG-TGen: Using LLM-Generated Control Flow Graphs to Automatically Create Test Cases from Use Cases
- 2atıf
- Q1SCImago
- 2026yıl
Kısa özet
LLMCFG-TGen, öncelikle bir LLM kullanarak Kontrol Akış Grafiği (CFG) oluşturan, ardından CFG'den yürütme yollarını çıkaran ve son olarak bu yollardan test durumları oluşturan doğal dil kullanım durumlarından otomatik olarak test durumları üretir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- LLMCFG-TGen, doğal dil kullanım durumlarından test durumları türetmek için LLM tarafından üretilen Kontrol Akış Grafikleri (CFG'ler) kullanır.
- Süreç, CFG üretimi, test yolu çıkarımı ve test durumu oluşturmayı içerir.
- LLMCFG-TGen, gereksinimlerdeki karmaşık koşullu mantığı ve yürütme akışlarını etkili bir şekilde yakalar.
- Değerlendirmeler, LLMCFG-TGen'in temel yaklaşımlardan daha kapsamlı ve mantıksal olarak tutarlı test durumları ürettiğini göstermektedir.
- Yaklaşım, test durumu üretiminde manuel çabayı azaltır.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Appropriate test-case generation is critical in software testing and significantly impacts testing quality. Requirements-Based Test Generation (RBTG) derives test cases from software requirements to verify whether or not the system's behavior aligns with user needs and expectations. Requirements are often documented in Natural Language (NL), with use-case descriptions being a popular method for capturing functional behaviors and interaction flows in a structured, readable form. Recently, Large Language Models (LLMs) have shown strong potential for automating test generation directly from NL requirements (including use-case descriptions). However, current LLM-based approaches may not provide comprehensive, non-redundant coverage. They may also fail to capture complex conditional logic in requirements, resulting in incomplete test cases. To address these limitations, we propose a new end-to-end approach that automatically generates test cases from NL use-case descriptions, called Test Generation based on LLM-generated Control Flow Graphs (LLMCFG-TGen). LLMCFG-TGen comprises the following three main steps: (1) CFG Generation: An LLM transforms a use case into a structured, JSON-based Control Flow Graph (CFG) that encapsulates all potential branches; (2) Test-Path Extraction: The generated CFG is traversed to extract a finite set of execution paths; and (3) Test-Case Creation: Finally, the execution paths are used to generate the test cases. To evaluate the proposed approach, we conducted experiments on six use-case datasets covering diverse application domains. The results show that LLMs can effectively construct well-structured CFGs from NL use cases. Compared with two baseline approaches, LLMCFG-TGen generates more complete and structurally consistent test cases by more effectively capturing requirement behaviors and execution flows. Both LLM-based and practitioner-based evaluations further confirm that LLMCFG-TGen produces more comprehensive and logically coherent test cases while reducing manual effort. The findings suggest that combining LLM-based semantic reasoning with structured modeling effectively bridges the gap between NL requirements and systematic test generation.
Yazarların özeti; kaynağından alınmıştır. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Yazılım
SoftwareComputer Science