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 条
  • [41] Constraint-based Test Data Generation for Industrial Automation Software based on Signal Flow Diagrams
    Linder, Paul
    ATP EDITION, 2008, (05): : 48 - 53
  • [42] On Automatic Software-Based Self-Test Program Generation Based on High-Level Decision Diagrams
    Jasnetski, Artjom
    Ubar, Raimund
    Tsertov, Anton
    2016 17TH IEEE LATIN-AMERICAN TEST SYMPOSIUM (LATS), 2016, : 177 - 177
  • [43] Test data generation for web application using a UML class diagram with OCL constraints
    Fujiwara, Shoichiro
    Munakata, Kazuki
    Maeda, Yoshiharu
    Katayama, Asako
    Uehara, Tadahiro
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2011, 7 (04) : 275 - 282
  • [44] An algorithm on path-based automatic test data generation with arrays and loops
    Chen, JF
    Zhu, L
    Shen, JY
    Wang, ZH
    Zhang, CX
    Chen, Y
    Wei, W
    ISTM/2005: 6TH INTERNATIONAL SYMPOSIUM ON TEST AND MEASUREMENT, VOLS 1-9, CONFERENCE PROCEEDINGS, 2005, : 5340 - 5343
  • [45] A new automatic test data generation algorithm based on PSO-ACO
    Zhao, Xiaomin
    Wang, Yiting
    Ding, Xiaoming
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MECHATRONICS, MATERIALS, CHEMISTRY AND COMPUTER ENGINEERING 2015 (ICMMCCE 2015), 2015, 39 : 1159 - 1165
  • [46] Automatic test data generation tool based on genetic simulated annealing algorithm
    Li Bin
    Li Zhi-Shu
    Chen Yan-Hong
    Li Bao-Lin
    CIS WORKSHOPS 2007: INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY WORKSHOPS, 2007, : 183 - 186
  • [47] A Genetic Algorithm-based System for Automatic Control of Test Data Generation
    Pocatilu, Paul
    Ivan, Ion
    STUDIES IN INFORMATICS AND CONTROL, 2013, 22 (02): : 219 - 226
  • [48] Test Data Automatic Generation Based on Modified Condition/Decision Coverage Criteria
    Fan Xin
    Zheng Wei
    Yang Feng-yu
    Liang Qi-jun
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INTELLIGENT COMMUNICATION, 2015, 16 : 287 - 290
  • [49] Automatic generation of test data in IMX system based on GA-ACO
    Feng X.
    Hao H.-M.
    1600, Beijing University of Posts and Telecommunications (39): : 99 - 103
  • [50] Test case generation by means of UML sequence diagrams and labeled transition systems
    Cartaxo, Emanuela G.
    Neto, Francisco G. O.
    Machado, Patricia D. L.
    2007 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-8, 2007, : 2885 - 2890