Test Code Generation for Telecom Software Systems using Two-Stage Generative Model

Authors: Mohamad Nabeel, Doumitrou Daniil Nimara, Tahar Zanouda

Submitted to arXiv on 14 Apr. 2024
License: CC BY 4.0
Abstract

In recent years, the evolution of Telecom towards achieving intelligent, autonomous, and open networks has led to an increasingly complex Telecom Software system, supporting various heterogeneous deployment scenarios, with multi-standard and multi-vendor support. As a result, it becomes a challenge for large-scale Telecom software companies to develop and test software for all deployment scenarios. To address these challenges, we propose a framework for Automated Test Generation for large-scale Telecom Software systems. We begin by generating Test Case Input data for test scenarios observed using a time-series Generative model trained on historical Telecom Network data during field trials. Additionally, the time-series Generative model helps in preserving the privacy of Telecom data. The generated time-series software performance data are then utilized with test descriptions written in natural language to generate Test Script using the Generative Large Language Model. Our comprehensive experiments on public datasets and Telecom datasets obtained from operational Telecom Networks demonstrate that the framework can effectively generate comprehensive test case data input and useful test code.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Close
    Leveraging Generative AI in Telecom E-commerce: A Framework for Enhanced Development and Testing Optimization
    Srilekha Kanakadandi · 2025 · International Journal of Scientific Research in Computer Science Engineering and Information Technology · Not summarized yet
    Abstract

    This article investigates the integration of generative AI technologies within telecom e-commerce platform development and testing workflows. By examining real-world implementations across multiple organizations, the research provides insights into how AI-driven approaches enhance code generation, test coverage, and API optimization in microservices architectures. The article explores the implementation of AI tools within existing CI/CD pipelines, focusing on automated test case generation, dynamic data creation, and intelligent debugging processes. Particular attention is given to security considerations and regulatory compliance, addressing the challenges of AI model explainability and tra…

  2. Close
    Utilizing Generative AI for Test Data Generation - use-cases for IoT and 5G Core Signaling
    T. Tothfalusi, Zoltán Csiszár, Pál Varga · 2024 · IEEE/IFIP Network Operations and Management Symposium · cited 5 times · Not summarized yet
    Abstract

    Having the appropriate amount and quality of signaling data to test telecommunication data is a constant challenge for vendors and operators alike. Hence, signaling message generation is often a crucial step during testing. When generating signaling messages, traditional approaches often fall short in meeting the dynamic and complex requirements of 5G core and IoT environments. The current paper proposes to leverage Generative AI, particularly Large Language Models (LLMs), to address these challenges, offering a novel methodology for generating test data that is both diverse and representative of real-world scenarios. Through a series of experiments involving various protocols such as CoAP, …

  3. Close
    Automated Software Test Data Generation With Generative Adversarial Networks
    Xiu-Jing Guo, H. Okamura, T. Dohi · 2022 · IEEE Access · cited 31 times · Not summarized yet
    Abstract

    With the rapid increase of software scale and complexity, the cost of traditional software testing methods will increase faster than the scale of software. In order to improve test efficiency, it is particularly important to automatically generate high-quality test cases. This paper introduces a framework for automatic test data generation based on the generative adversarial network (GAN). GAN is employed to train a generative model over execution path information to learn the behavior of the software. Then we can use the trained generative model to produce new test data, and select the test data that can improve the branch coverage according to our proposed selection strategy. Compared to p…

  4. Close
    Automated Software Testing Using Generative Ai And Large Language Models
    K. Subramaniam, P. Arul Prabu, B. G. Nayagam et al. · 2025 · International Journal For Multidisciplinary Research · Not summarized yet
    Abstract

    Automated software testing is a cornerstone of modern software engineering, yet traditional approaches struggle to keep pace with the complexity and rapid evolution of contemporary applications. This paper investigates the integration of generative artificial intelligence (AI) and large language models (LLMs) into automated software testing workflows. We review the state of the art in AI-driven test case generation, test script maintenance, and defect prediction, highlighting how generative models can analyze source code, requirements, and user behavior to produce comprehensive and adaptive test suites. Our study synthesizes recent research and industry case studies, demonstrating that gener…

  5. Close
    GenIA-E2ETest: A Generative AI-Based Approach for End-to-End Test Automation
    Elvis Júnior, A. Valejo, J. Valverde-Rebaza et al. · 2025 · Brazilian Symposium on Software Engineering · cited 3 times · Not summarized yet
    Abstract

    Software testing is essential to ensure system quality, but it remains time-consuming and error-prone when performed manually. Although recent advances in Large Language Models (LLMs) have enabled automated test generation, most existing solutions focus on unit testing and do not address the challenges of end-to-end (E2E) testing, which validates complete application workflows from user input to final system response. This paper introduces GenIAE2ETest, which leverages generative AI to generate executable E2E test scripts from natural language descriptions automatically. We evaluated the approach on two web applications, assessing completeness, correctness, adaptation effort, and robustness.…

  6. Close
    Generative AI for software testing: Harnessing large language models for automated and intelligent quality assurance
    Subham Dandotiya · 2025 · International Journal of Science and Research Archive · cited 3 times · Not summarized yet
    Abstract

    Software testing is indispensable for ensuring that modern applications meet rigorous standards of functionality, reliability, and security. However, the complexity and pace of contemporary software development often overwhelm traditional and even AI-based testing approaches, leading to gaps in coverage, delayed feedback, and increased maintenance costs. Recent breakthroughs in Generative AI, particularly Large Language Models (LLMs), offer a new avenue for automating and optimizing testing processes. These models can dynamically generate test cases, predict system vulnerabilities, handle continuous software changes, and reduce the burden on human testers. This paper explores how Generative …

  7. Close
    A method for IoT devices test case generation using language models
    Sumit Kumar, Kiran Napte, Ruchi Rani et al. · 2025 · MethodsX · cited 8 times · Not summarized yet
    Abstract

    The rapid growth of IoT and electronic systems has led to complex real-time data processing and management solutions. However, these systems present significant software and hardware testing challenges, often requiring manual, time-consuming testing efforts. To address this, an automated end-to-end testing framework is essential for improving efficiency and reliability in IoT system development. With advancements in Natural Language Processing (NLP) and language models, automated test case generation systems can now create structured test cases in programming languages while ensuring code integrity and style. Applying these techniques to IoT projects streamlines testing, enhances accuracy, a…

  8. Close
    Generative Model-Based Test Case Generation and Operational Testing for Deep Learning
    Sheng-Lin Bao, Nan Jiang, Weijie Zhu et al. · 2024 · 2024 5th International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE) · cited 2 times · Not summarized yet
    Abstract

    As deep learning technologies, particularly those driven by deep neural networks, revolutionize various industries, testing and verifying deep learning models remain challenging, especially regarding their security. Traditional software testing methods like test case selection and generation are often unsuitable for deep learning applications due to their reliance on high-cost, manually labeled data. This paper introduces a test case generation method using deep generative models and a testing framework tailored for operational testing. This approach reduces the need for data annotation and lowers the costs associated with testing deep learning software. The framework focuses on using traini…

Prior work it builds on

  1. Related Used in depth by this paper
    The Program Testing Ability of Large Language Models for Code
    Weimin Xiong, Yiwen Guo, Hao Chen · 2023 · Conference on Empirical Methods in Natural Language Processing · cited 23 times · Not summarized yet
    Abstract

    Recent development of large language models (LLMs) for code like CodeX and CodeT5+ shows promise in achieving code intelligence. Their ability of synthesizing program targeting a pre-defined algorithmic coding task has been intensively tested and verified on datasets including HumanEval and MBPP. Yet, evaluation of these LLMs from more perspectives (than just program synthesis) is also anticipated, considering their broad scope of applications. In this paper, we explore their ability of automatic test cases generation. We show intriguing observations and reveal how the quality of their generated test cases can be improved. Following recent work which uses generated test cases to enhance prog…

  2. Related Used in depth by this paper A method it uses
    L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models
    Ansong Ni, Peng-Cheng Yin, Yilun Zhao et al. · 2023 · Transactions of the Association for Computational Linguistics · cited 49 times · Not summarized yet
    Abstract

    Abstract Recently, large language models (LLMs), especially those that are pretrained on code, have demonstrated strong capabilities in generating programs from natural language inputs. Despite promising results, there is a notable lack of a comprehensive evaluation of these models’ language-to-code generation capabilities. Existing studies often focus on specific tasks, model architectures, or learning paradigms, leading to a fragmented understanding of the overall landscape. In this work, we present L2CEval, a systematic evaluation of the language-to-code generation capabilities of LLMs on 7 tasks across the domain spectrum of semantic parsing, math reasoning, and Python programming, analy…

  3. Related Used in depth by this paper A method it uses
    AI Testing Framework for Next-G O-RAN Networks: Requirements, Design, and Research Opportunities
    Bondic C. P. Tang, V. Shah, V. Marojevic et al. · 2022 · IEEE wireless communications · cited 41 times · Not summarized yet
    Abstract

    Openness and intelligence are two enabling features to be introduced in next generation wireless networks, for example, Beyond 5G and 6G, to support service heterogeneity, open hardware, optimal resource utilization, and on-demand service deployment. The open radio access network (O-RAN) is a promising RAN architecture to achieve both openness and intelligence through virtualized network elements and well-defined interfaces. While deploying artificial intelligence (AI) models is becoming easier in O-RAN, one significant challenge that has been long neglected is the comprehensive testing of their performance in realistic environments. This article presents a general automated, distributed and…

  4. Related A method it uses
    Automatic Code Generation using Pre-Trained Language Models
    Luis Perez, Lizi Ottens, S. Viswanathan · 2021 · arXiv.org · preprint, not peer reviewed · cited 27 times · Not summarized yet
    Abstract

    Recent advancements in natural language processing \cite{gpt2} \cite{BERT} have led to near-human performance in multiple natural language tasks. In this paper, we seek to understand whether similar techniques can be applied to a highly structured environment with strict syntax rules. Specifically, we propose an end-to-end machine learning model for code generation in the Python language built on-top of pre-trained language models. We demonstrate that a fine-tuned model can perform well in code generation tasks, achieving a BLEU score of 0.22, an improvement of 46\% over a reasonable sequence-to-sequence baseline. All results and related code used for training and data processing are availab…

  5. Related A method it uses
    Automated Unit Test Improvement using Large Language Models at Meta
    Nadia Alshahwan, Jubin Chheda, Anastasia Finegenova et al. · 2024 · Software Engineering · cited 261 times · AI summary available
    Abstract

    This paper describes Meta's TestGen-LLM tool, which uses LLMs to automatically improve existing human-written tests. TestGen-LLM verifies that its generated test classes successfully clear a set of filters that assure measurable improvement over the original test suite, thereby eliminating problems due to LLM hallucination. We describe the deployment of TestGen-LLM at Meta test-a-thons for the Instagram and Facebook platforms. In an evaluation on Reels and Stories products for Instagram, 75% of TestGen-LLM's test cases built correctly, 57% passed reliably, and 25% increased coverage. During Meta's Instagram and Facebook test-a-thons, it improved 11.5% of all classes to which it was applied, …

Papers that cite it

  1. Close
    Telecom Foundation Models: Applications, Challenges, and Future Trends
    Tahar Zanouda, Meysam Masoudi, Fitsum Gaim Gebre et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 10 times · Not summarized yet
    Abstract

    Telecom networks are becoming increasingly complex, with diversified deployment scenarios, multi-standards, and multi-vendor support. The intricate nature of the telecom network ecosystem presents challenges to effectively manage, operate, and optimize networks. To address these hurdles, Artificial Intelligence (AI) has been widely adopted to solve different tasks in telecom networks. However, these conventional AI models are often designed for specific tasks, rely on extensive and costly-to-collect labeled data that require specialized telecom expertise for development and maintenance. The AI models usually fail to generalize and support diverse deployment scenarios and applications. In con…

  2. Related Uses this paper in depth
    A survey on test case generation based on prompt engineering and large language models
    Han-Jing Cui, Man Zhao, Dong-Cheng Li · 2026 · International Conference on AI-generated Content · Not summarized yet
    Abstract

    Software testing is vital for ensuring software quality, yet manual test case generation remains costly and error-prone. With advances in large language models (LLMs), prompt engineering has emerged as a promising approach to automate this process. This survey reviews recent studies that apply prompt-based techniques to guide LLMs in generating test cases, categorizing existing methods into one-time and iterative prompting. We analyze their strategies, strengths, limitations, datasets, and evaluation metrics, and highlight current challenges. Finally, we outline four future research directions: optimizing prompt strategies and cross-language frameworks, building benchmark datasets and evalua…

  3. Related
    Chat3GPP: An Open-Source Retrieval-Augmented Generation Framework for 3GPP Documents
    Long-Tao Huang, Ming Zhao, Limin Xiao et al. · 2025 · 2025 IEEE International Conference on Communications Workshops (ICC Workshops) · cited 8 times · Not summarized yet
    Abstract

    The 3rd Generation Partnership Project (3GPP) documents is key standards in global telecommunications, while posing significant challenges for engineers and researchers in the telecommunications field due to the large volume and complexity of their contents as well as the frequent updates. Large language models (LLMs) have shown promise in natural language processing tasks, but their general-purpose nature limits their effectiveness in specific domains like telecommunications. To address this, we propose Chat3GPP1, an open-source retrieval-augmented generation (RAG) framework tailored for 3GPP specifications. By combining chunking strategies, hybrid retrieval and efficient indexing methods, …

  4. Related
    Test Intention Guided LLM-Based Unit Test Generation
    Zifan Nan, Zhaoqiang Guo, Kui Liu et al. · 2025 · International Conference on Software Engineering · cited 58 times · Not summarized yet
    Abstract

    The emergence of Large Language Models (LLMs) has accelerated the progress of intelligent software engineering technologies, which brings promising possibilities for unit test generation. However, existing approaches for unit tests directly generated from Large Language Models (LLMs) often prove impractical due to their low coverage and insufficient mocking capabilities. This paper proposes IntUT, a novel approach that utilizes explicit test intentions (e.g., test inputs, mock behaviors, and expected results) to effectively guide the LLM to generate high-quality test cases. Our experimental results on three industry Java projects and live study demonstrate that prompting LLM with test intent…

  5. Related
    Intelligent Telecom Solutions: Employing Large Language Models to Address Base Station Anomalies and Alarm Prioritization
    Asma Iman Kouachi, Imed Eddine Mokrane · 2025 · 2025 International Symposium on iNnovative Informatics of Biskra (ISNIB) · cited 1 time · Not summarized yet
    Abstract

    Telecom network issues disrupt critical services and lead to substantial financial losses. This study focuses on two key tasks: generating solutions for Base Station (BS) problems and prioritizing BS alarms using Large Language Models (LLMs). The application of these models improves telecom network management by reducing downtime and increasing reliability during emergencies. Six LLMs were evaluated: Mixtral, Llama, and Gemini for generating solutions. DistilBERT, DistilGPT-2, and ELECTRA for alarm prioritization. Mixtral achieved a high cosine similarity score of 0.9647, outperforming Llama, Gemini, and traditional models such as Markov in resolving BS anomalies. DistilBERT demonstrated sup…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 1 November 2026.

The illustrated guide to the papers around a paper