• DocumentCode
    1842210
  • Title

    Polymorphism Sequence Diagrams Test Data Automatic Generation Based on OCL

  • Author

    Zhou, Hang ; Huang, Zhiqiu ; Zhu, Yi

  • Author_Institution
    Coll. of Inf. Sci. & Technol., Nanjing Univ. of Aeronaut. & Astronaut., Nanjing
  • fYear
    2008
  • fDate
    18-21 Nov. 2008
  • Firstpage
    1235
  • Lastpage
    1240
  • Abstract
    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.
  • Keywords
    object-oriented methods; program testing; OCL; Unified Modified Language sequence diagram; object oriented design; polymorphism class object method acyclic graph; polymorphism sequence diagrams test data automatic generation; Automatic testing; Character generation; Educational institutions; Information science; Object oriented modeling; Software standards; Software testing; Space technology; System testing; Unified modeling language; Unified modeling language; object constraint langrage; sequence diagrams; test; test data;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Young Computer Scientists, 2008. ICYCS 2008. The 9th International Conference for
  • Conference_Location
    Hunan
  • Print_ISBN
    978-0-7695-3398-8
  • Electronic_ISBN
    978-0-7695-3398-8
  • Type

    conf

  • DOI
    10.1109/ICYCS.2008.50
  • Filename
    4709150