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 条
  • [21] Test case generation as an AI planning problem
    Howe, Adele E.
    Von Mayrhauser, Anneliese
    Mraz, Richard T.
    Automated Software Engineering, 1997, 4 (01): : 77 - 106
  • [22] Demonstration of Automation of Network Configuration Generation using Generative AI
    Chakraborty, Supratim
    Chitta, Nithin
    Sundaresan, Rajesh
    2024 20TH INTERNATIONAL CONFERENCE ON NETWORK AND SERVICE MANAGEMENT, CNSM 2024, 2024,
  • [23] Trials of using Generative AI for APB UVM testbench generation
    Dranga, Diana
    ROMANIAN JOURNAL OF INFORMATION TECHNOLOGY AND AUTOMATIC CONTROL-REVISTA ROMANA DE INFORMATICA SI AUTOMATICA, 2024, 34 (02):
  • [24] Dataflow test case generation from UML Class diagrams
    Anbunathan, R.
    AnirbanBasu
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 134 - 142
  • [25] Test case automate generation from UML sequence diagram and OCL expression
    Li Bao-Lin
    Li Zhi-Shu
    Li Qing
    Chen Yan Hong
    CIS: 2007 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY, PROCEEDINGS, 2007, : 1048 - 1052
  • [26] Transition coverage based test case generation from state chart diagram
    Pradhan, Sonali
    Ray, Mitrabinda
    Swain, Santosh Kumar
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (03) : 993 - 1002
  • [27] Automating generation of textual class definitions from OWL to English
    Stevens R.
    Malone J.
    Williams S.
    Power R.
    Third A.
    Journal of Biomedical Semantics, 2 (Suppl 2)
  • [28] Generative AI and childhood education: lessons from the smartphone generation
    Machidon, Octavian-Mihai
    AI & SOCIETY, 2025,
  • [29] Automatic Test Case Generation for Programmable Logic Controller using Function Block Diagram
    Mani, P.
    Prasanna, M.
    2016 INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND EMBEDDED SYSTEMS (ICICES), 2016,
  • [30] Automatic Test Path Generation from Sequence Diagram Using Genetic Algorithm
    Hoseini, Bahare
    Jalili, Saeed
    2014 7TH INTERNATIONAL SYMPOSIUM ON TELECOMMUNICATIONS (IST), 2014, : 106 - 111