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 条
  • [1] Automatic test cases generation based on OCL
    Xie Xuanang
    Zhang Yunhua
    Jiang Zhongwei
    PROCEEDINGS OF THE FIRST INTERNATIONAL SYMPOSIUM ON TEST AUTOMATION & INSTRUMENTATION, VOLS 1 - 3, 2006, : 1170 - 1175
  • [2] Automatic test case generation from UML sequence diagrams
    Sarma, Monalisa
    Kundu, Debasish
    Mall, Rajib
    ADCOM 2007: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND COMMUNICATIONS, 2007, : 60 - +
  • [3] Automatic Test Data Synthesis using UML Sequence Diagrams
    Nayak, Ashalatha
    Samanta, Debasis
    JOURNAL OF OBJECT TECHNOLOGY, 2010, 9 (02): : 115 - 144
  • [4] Automatic Test Sequence Generation and Functional Coverage Measurement From UML Sequence Diagrams
    Ekici, Nazim Umut
    Tuglular, Tugkan
    INTERNATIONAL JOURNAL OF INFORMATION SYSTEM MODELING AND DESIGN, 2023, 14 (01)
  • [5] Combining Sequence Diagrams and OCL for Liveness
    Cavarra, Alessandra
    Kuster-Filipe, Juliana
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 115 : 19 - 38
  • [6] GA-based Automatic Test Data Generation for UML State Diagrams with Parallel Paths
    Doungsa-ard, C.
    Dahal, K.
    Hossain, A.
    Suwannasart, T.
    ADVANCED DESIGN AND MANUFACTURE TO GAIN A COMPETITIVE EDGE: NEW MANUFACTURING TECHNIQUES AND THEIR ROLE IN IMPROVING ENTERPRISE PERFORMANCE, 2008, : 147 - +
  • [7] Test sequence generation from UML sequence diagrams
    Samuel, Philip
    Joseph, Anju Teresa
    PROCEEDINGS OF NINTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, 2008, : 879 - +
  • [8] AUTOMATIC TEST SEQUENCE GENERATION
    SALZMANN, CH
    IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS, 1977, 13 (02) : 223 - 223
  • [9] Search-Based MC/DC Test Data Generation With OCL Constraints
    Sartaj, Hassan
    Iqbal, Muhammad Zohaib
    Jilani, Atif Aftab Ahmed
    Khan, Muhammad Uzair
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2025, 35 (01):
  • [10] Test Generation from UML Sequence Diagrams
    Faria, Joao Pascoal
    Paiva, Ana C. R.
    Yang, Zhuanli
    2012 EIGHTH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC 2012), 2012, : 245 - 250