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 条
  • [31] Search based automatic test-data generation at an architectural level
    Zhan, Y
    Clark, J
    GENETIC AND EVOLUTIONARY COMPUTATION GECCO 2004 , PT 2, PROCEEDINGS, 2004, 3103 : 1413 - 1424
  • [32] An automatic generation of software test data based on improved Markov model
    Chen, Jiali
    Chen, Xiaojie
    Zan, Tao
    Lian, Mengjia
    WEB INTELLIGENCE, 2022, 20 (04) : 307 - 315
  • [33] Automatic generation of UML sequence diagrams from user stories in Scrum process
    Elallaoui, Meryem
    Nafil, Khalid
    Touahni, Raja
    2015 10TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS: THEORIES AND APPLICATIONS (SITA), 2015,
  • [34] EFSM-Based Test Case Generation: Sequence, Data, and Oracle
    Yang, Rui
    Chen, Zhenyu
    Zhang, Zhiyi
    Xu, Baowen
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2015, 25 (04) : 633 - 667
  • [35] An automatic approach of domain test data generation
    Jeng, BC
    Forgács, I
    JOURNAL OF SYSTEMS AND SOFTWARE, 1999, 49 (01) : 97 - 112
  • [36] Automatic Test Data Generation for C Programs
    Bokil, Prasad
    Darke, Priyanka
    Shrotri, Ulka
    Venkatesh, R.
    2009 THIRD IEEE INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT, PROCEEDINGS, 2009, : 359 - 368
  • [37] Step 0: An Idea for Automatic OCL Benchmark Generation
    Wu, Hao
    SOFTWARE TECHNOLOGIES: APPLICATIONS AND FOUNDATIONS, STAF 2017, 2018, 10748 : 356 - 364
  • [38] Automatic test generation for dynamic data structures
    Zhao, Ruilian
    Li, Qing
    SERA 2007: 5TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT, AND APPLICATIONS, PROCEEDINGS, 2007, : 545 - +
  • [39] Automatic String Type Test Data Generation
    You, Feng
    Liu, Yi-Hua
    Zhao, Rui-Lian
    INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING BIOMEDICAL ENGINEERING, AND INFORMATICS (SPBEI 2013), 2014, : 399 - 407
  • [40] Validation of UML and OCL models by automatic snapshot generation
    Gogolla, M
    Bohling, J
    Richters, M
    UML 2003 - THE UNIFIED MODELING LANGUAGE, PROCEEDINGS: MODELING LANGUAGES AND APPLICATIONS, 2003, 2863 : 265 - 279