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 条
  • [41] Practical Experiments with Code Generation from the UML Class Diagram
    Sejans, Janis
    Nikiforova, Oksana
    MODEL-DRIVEN ARCHITECTURE AND MODEL-DRIVEN SOFTWARE DEVELOPMENT, 2011, : 57 - 67
  • [42] Sequential circuit test generation using decision diagram models
    Raik, J
    Ubar, R
    DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION 1999, PROCEEDINGS, 1999, : 736 - 740
  • [43] More Effective Test Case Generation with Multiple Tribes of AI
    Olsthoorn, Mitchell
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 286 - 290
  • [44] DEVELOPMENT OF A GENERATIVE AI FRAMEWORK FOR AUTOMATING SOCIAL MEDIA POSTS FROM UROLOGICAL JOURNAL ARTICLES: A PROSPECTIVE STUDY
    Ramacciotti, Lorenzo Storino
    Rodler, Severin
    Mokhtar, Daniel
    Hershenhouse, Jacob
    Strauss, David
    Medina, Luis G.
    Chen, Andrew
    Desai, Mihir M.
    Abreu, Andre Luis
    Gill, Inderbir S.
    Cacciamani, Giovanni E.
    JOURNAL OF UROLOGY, 2024, 211 (05): : E290 - E290
  • [45] Automating test program generation in STIL - Expectations and experiences using IEEE 1450
    Lang, H
    Pande, B
    Ahrens, H
    EIGHTH IEEE EUROPEAN TEST WORKSHOP, PROCEEDINGS, 2003, : 99 - 104
  • [46] Test generation for sequential circuits using state transition diagram and test generation for combinatorial circuit part
    Hasegawa, T
    Miura, K
    Ohmameuda, T
    Ito, H
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART II-ELECTRONICS, 2001, 84 (08): : 20 - 28
  • [47] Analytic method for automatic test case generation for Function Block Diagram
    Ausberger, Tomas
    Kubicek, Karel
    Medvecova, Pavia
    Myslivec, Tomas
    Stetina, Milan
    2020 25TH IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2020, : 1799 - 1806
  • [48] A Novel Test Case Generation Approach based on AUML sequence diagram
    Dehimi, Nour El Houda
    Mokhati, Farid
    2019 4TH INTERNATIONAL CONFERENCE ON NETWORKING AND ADVANCED SYSTEMS (ICNAS 2019), 2019, : 7 - 10
  • [49] A Memorization Approach for Test Case Generation in Concurrent UML Activity Diagram
    Kamonsantiroj, Suwatchai
    Pipanmaekaporn, Luepol
    Lorpunmanee, Siriluck
    2019 2ND INTERNATIONAL CONFERENCE ON GEOINFORMATICS AND DATA ANALYSIS (ICGDA 2019), 2019, : 20 - 25
  • [50] An Automatic Test Case Generation Method based on SysML Activity Diagram
    Xu, Yiqun
    Wu, Linbo
    2019 INTERNATIONAL CONFERENCE ON ADVANCED ELECTRONIC MATERIALS, COMPUTERS AND MATERIALS ENGINEERING (AEMCME 2019), 2019, 563