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 条
  • [31] Automatic test case generation through collaboration diagram: a case study
    Kaur A.
    Vig V.
    International Journal of System Assurance Engineering and Management, 2018, 9 (02) : 362 - 376
  • [32] ReVisE: Emulated Visual Outfit Generation from User Reviews Using Generative-AI
    Rosas, Samar Rahimi
    Neupane, Subash
    Mitra, Shaswata
    Mittal, Sudip
    SOFTWARE AND DATA ENGINEERING, SEDE 2024, 2025, 2244 : 168 - 178
  • [33] Music Generation Using Deep Learning and Generative AI: A Systematic Review
    Mitra, Rohan
    Zualkernan, Imran
    IEEE ACCESS, 2025, 13 : 18079 - 18106
  • [34] A Systematic Review of Synthetic Data Generation Techniques Using Generative AI
    Goyal, Mandeep
    Mahmoud, Qusay H.
    ELECTRONICS, 2024, 13 (17)
  • [35] The Research on Test Case Generation Technology of UML Sequence Diagram
    Li, Yan
    Jiang, Li
    2014 PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION (ICCSE 2014), 2014, : 1067 - 1069
  • [36] The Test Cases Generation From The UML Activity Diagram
    Xie, Tangtang
    Li, Jun
    Fang, Yonghui
    Xiong, Hailing
    FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE II, PTS 1-6, 2012, 121-126 : 2387 - +
  • [37] AUTOMATING TEST CASE GENERATION FOR REQUIREMENTS SPECIFICATION FOR PROCESSES ORCHESTRATING WEB SERVICES
    Sapiecha, Krzysztof
    Grela, Damian
    ICEIS 2008: PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL ISAS-1: INFORMATION SYSTEMS ANALYSIS AND SPECIFICATION, VOL 1, 2008, : 381 - 384
  • [38] Automating the generation of test cases from Object-Z specifications
    Ashraf, Adnan
    Nadeem, Aamer
    30TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL 2, SHORT PAPERS/WORKSHOPS/FAST ABSTRACTS/DOCTORAL SYMPOSIUM, PROCEEDINGS, 2006, : 101 - +
  • [39] AI and Case Management: From Artificial Intelligence to Generative Intelligence
    Powell, Suzanne K.
    PROFESSIONAL CASE MANAGEMENT, 2023, 28 (06) : 259 - 261
  • [40] Using AI to Teach AI; Lessons from an Online AI Class
    Goel, Ashok K.
    Joyner, David A.
    AI MAGAZINE, 2017, 38 (02) : 48 - 58