Automating Test Case Generation from Class Diagram Using Generative AI

被引:0
|
作者
Naimi, Lahbib [1 ]
Bouziane, El Mahi [1 ]
Jakimi, Abdeslam [1 ]
机构
[1] UMI Meknes, Fac Sci & Technol Errachidia, GL ISI Team, Meknes, Morocco
关键词
software test; Generative AI; Prompt Engineering;
D O I
10.1007/978-3-031-66850-0_15
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In the realm of software engineering, the automation of test case generation represents a significant advancement towards improving efficiency and reliability. This paper introduces a novel approach to automate the generation of test cases from class diagrams using generative artificial intelligence (AI). By extracting class and attribute information from the XML representation of class diagrams, we can formulate structured prompts that are then fed into a generative AI model. The model is designed to interpret these prompts and produce comprehensive test cases corresponding to each class. Our methodology not only streamlines the test case creation process but also leverages the advanced capabilities of AI to ensure thorough coverage and accuracy. The implications of this approach extend to enhancing the quality assurance phase of software development, thereby contributing to the development of robust and error-resistant software systems.
引用
收藏
页码:133 / 140
页数:8
相关论文
共 50 条
  • [1] Agent-Based Regression Test Case Generation using Class Diagram, Use cases and Activity Diagram
    Arora, Pardeep Kumar
    Bhatia, Rajesh
    6TH INTERNATIONAL CONFERENCE ON SMART COMPUTING AND COMMUNICATIONS, 2018, 125 : 747 - 753
  • [2] Combinatorial test case generation from sequence diagram using optimization algorithms
    Tatale, Subhash
    Chandra Prakash, V.
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2022, 13 (SUPPL 1) : 642 - 657
  • [3] Combinatorial test case generation from sequence diagram using optimization algorithms
    Subhash Tatale
    V. Chandra Prakash
    International Journal of System Assurance Engineering and Management, 2022, 13 : 642 - 657
  • [4] Automating requirements analysis and test case generation
    Abha Moitra
    Kit Siu
    Andrew W. Crapo
    Michael Durling
    Meng Li
    Panagiotis Manolios
    Michael Meiners
    Craig McMillan
    Requirements Engineering, 2019, 24 : 341 - 364
  • [5] AI-Based Automotive Test Case Generation: An Action Research Study on Integration of Generative AI into Test Automation Frameworks
    Karlsson, Albin
    Lindmaa, Erik
    Sun, Simin
    Staron, Miroslaw
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT. INDUSTRY-, WORKSHOP-, AND DOCTORAL SYMPOSIUM PAPERS, PROFES 2024, 2025, 15453 : 50 - 66
  • [6] Automating requirements analysis and test case generation
    Moitra, Abha
    Siu, Kit
    Crapo, Andrew W.
    Durling, Michael
    Li, Meng
    Manolios, Panagiotis
    Meiners, Michael
    McMillan, Craig
    REQUIREMENTS ENGINEERING, 2019, 24 (03) : 341 - 364
  • [7] Unit Test Generation using Generative AI : A Comparative Performance Analysis of Autogeneration Tools
    Bhatia, Shreya
    Gandhi, Tarushi
    Kumar, Dhruv
    Jalote, Pankaj
    2024 INTERNATIONAL WORKSHOP ON LARGE LANGUAGE MODELS FOR CODE, LLM4CODE 2024, 2024, : 54 - 61
  • [8] Test Case Generation from UML Subactivity and Activity Diagram
    Fan, Xin
    Shu, Jian
    Liu, LinLan
    Liang, QiJun
    PROCEEDINGS OF THE SECOND INTERNATIONAL SYMPOSIUM ON ELECTRONIC COMMERCE AND SECURITY, VOL II, 2009, : 244 - 248
  • [9] Automated Test Case Generation from UML Activity Diagram and Sequence Diagram using Depth First Search Algorithm
    Meiliana
    Septian, Irwandhi
    Alianto, Ricky Setiawan
    Daniel
    Gaol, Ford Lumban
    DISCOVERY AND INNOVATION OF COMPUTER SCIENCE TECHNOLOGY IN ARTIFICIAL INTELLIGENCE ERA, 2017, 116 : 629 - 637
  • [10] Test Case Generation For Concurrent Systems Using UML Activity Diagram
    Mahali, Prateeva
    Arabinda, Saswat
    Acharya, Arup Abhinna
    Mohapatra, Durga Prasad
    PROCEEDINGS OF THE 2016 IEEE REGION 10 CONFERENCE (TENCON), 2016, : 428 - 435