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 条
  • [11] Automatic Generation of Test Models for Web Services Using WSDL and OCL
    Lopez, Macias
    Ferreiro, Henrique
    Francisco, Miguel A.
    Castro, Laura M.
    SERVICE-ORIENTED COMPUTING, ICSOC 2013, 2013, 8274 : 483 - 490
  • [12] Automatic generation method of class test cases based on UML state diagrams
    Zhang, Yikun
    Shi, Fengming
    Yao, Quanzhu
    Liu, Jun
    Fu, Changlong
    Jisuanji Gongcheng/Computer Engineering, 2003, 29 (21):
  • [13] Automatic Test Case Generation for UML Collaboration Diagrams
    Prasanna, M.
    Chandran, K. R.
    Thiruvenkadam, K.
    IETE JOURNAL OF RESEARCH, 2011, 57 (01) : 77 - 81
  • [14] Test data generation based on automatic division of path
    Liao W.-Z.
    Liao, Wei-Zhi (weizhiliao2002@aliyun.com), 1600, Chinese Institute of Electronics (44): : 2254 - 2261
  • [15] CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION
    DEMILLO, RA
    OFFUTT, AJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) : 900 - 910
  • [16] A Hybrid Genetic Algorithm Based Test Case Generation Using Sequence Diagrams
    Shirole, Mahesh
    Kumar, Rajeev
    CONTEMPORARY COMPUTING, PT 1, 2010, 94 : 53 - +
  • [17] XML-BASED AUTOMATIC TEST DATA GENERATION
    Bulbul, Halil Ibrahim
    Bakir, Turgut
    COMPUTING AND INFORMATICS, 2008, 27 (04) : 681 - 698
  • [18] 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
  • [19] AUTOMATIC GENERATION OF TEST CASES FROM ACTIVITY DIAGRAMS FOR UML BASED TESTING (UBT)
    Oluwagbemi, Oluwatolani
    Asmuni, Hishammuddin
    JURNAL TEKNOLOGI, 2015, 77 (13): : 37 - 48
  • [20] Automatic test case generation from UML communication diagrams
    Samuel, Philip
    Mall, Rajib
    Kanth, Pratyush
    INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (02) : 158 - 171