Polymorphism Sequence Diagrams Test Data Automatic Generation Based on OCL

被引:0
|
作者
Zhou, Hang [1 ]
Huang, Zhiqiu [1 ]
Zhu, Yi [1 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Informat Sci & Technol, Nanjing 210016, Peoples R China
关键词
Unified modeling language; sequence diagrams; object constraint langrage; test; test data;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The polymorphism is an important character of Object Oriented Design (OOD). However Unified Modeling Language (UML) sequence diagrams can not describe the polymorphism, which lead to lack test data to test polymorphism sequence diagram methods in integration testing. An approach is proposed to formalize polymorphism sequence diagrams and generate test data. According to classes OCL constraints and Satisfying Set rules, the approach got the Class Sets of Polymorphism Methods (CSPM). The approach transformed sequence diagrams into the Polymorphism Class Object Method Acyclic Graph (PCOMDAG). Utilizing the Test Data Automatic Generation (TCAG) algorithm, the approach automatically generated sequence diagram test data. The approach availability was verified by an application example and cases study. The results show that the approach can generate sequence diagram test data to test polymorphism methods and increase the test coverage rate of sequence diagram.
引用
收藏
页码:1235 / 1240
页数:6
相关论文
共 50 条
  • [21] Model Based Test Case Generation from UML Sequence and Interaction Overview Diagrams
    Jena, Ajay Kumar
    Swain, Santosh Kumar
    Mohapatra, Durga Prasad
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, VOL 2, 2015, 32 : 247 - 257
  • [22] Generation of Context-based Usage Scenario Test from UML Sequence Diagrams
    Mhanna, Hussein
    Leserf, Patrick
    Saudrais, Sebastien
    2018 IEEE/ACS 15TH INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS (AICCSA), 2018,
  • [23] Retrospective on: Constraint-Based Automatic Test Data Generation
    Offutt, Jeff
    Demillo, Richard
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 754 - 758
  • [24] Cloud-based automatic test data generation framework
    Chawla, Priyanka
    Chana, Inderveer
    Rana, Ajay
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2016, 82 (05) : 712 - 738
  • [25] Automatic code generation from unified modelling language sequence diagrams
    Kundu, Debasish
    Samanta, Debasis
    Mall, Rajib
    IET SOFTWARE, 2013, 7 (01) : 12 - 28
  • [26] THE AUTOMATIC-GENERATION OF TEST DATA
    INCE, DC
    COMPUTER JOURNAL, 1987, 30 (01): : 63 - 69
  • [27] ASM-based testing: Coverage criteria and automatic test sequence generation
    Gargantini, A
    Riccobene, E
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2001, 7 (11) : 1050 - 1067
  • [28] Automatic test case generation for structural testing of function block diagrams
    Wu, Yi-Chen
    Fan, Chin-Feng
    INFORMATION AND SOFTWARE TECHNOLOGY, 2014, 56 (10) : 1360 - 1376
  • [29] Automatic test case generation from UML State Machine diagrams
    Olianas, Dario
    PROGRAMMING 2019: PROCEEDINGS OF THE CONFERENCE COMPANION OF THE 3RD INTERNATIONAL CONFERENCE ON ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, 2019,
  • [30] Character string predicate based automatic software test data generation
    Zhao, RL
    Lyu, MR
    THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 255 - 262