• DocumentCode
    2745577
  • Title

    Test Sequence Generation from UML Sequence Diagrams

  • Author

    Samuel, Philip ; Joseph, Anju Teresa

  • Author_Institution
    Sch. of Eng., Cochin Univ. of Sci. & Technol., Kochi
  • fYear
    2008
  • fDate
    6-8 Aug. 2008
  • Firstpage
    879
  • Lastpage
    887
  • Abstract
    In this paper, we present an approach to generate test sequences from UML 2.0 sequence diagrams. Sequence diagrams are one of the most widely used UML models in the software industry. Although sequence diagrams are used for modeling the dynamic aspects of the system, they can also be used for model based testing. Existing work does not encompass certain important features of UML 2.0 sequence diagrams. Our work considers many of the novel features of UML 2.0 sequence diagrams like alt, loop, opt and break to generate test sequences. These areimportant features as far as testing is concerned. Our work begins with defining the important types of relationship that can exist between the messages. Based on the relationship between the messages, the message sequences are generated. Our work considers an important feature of UML 2.0 sequence diagrams called the dasiaExecution Occurrencepsila to generate message sequences. Next, an intermediate representation of the sequence diagram is built. This intermediate representation is called the Sequence Dependency Graph (SDG). The message sequences are incorporated into the SDG. Finally, we discuss a traversal algorithm to generate test sequences from SDG. Our method is fully automated and the test sequences generated can be used to check the correctness of the implementation under test.
  • Keywords
    Unified Modeling Language; graph theory; program testing; UML 2.0; UML model; UML sequence diagrams; execution occurrence; message sequences; model based testing; sequence dependency graph; test sequence generation; Artificial intelligence; Automatic testing; Computer industry; Computer science; Distributed computing; Object oriented modeling; Software engineering; Software testing; System testing; Unified modeling language; Message Sequence; Sequence Diagram; Test Sequence; UML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, 2008. SNPD '08. Ninth ACIS International Conference on
  • Conference_Location
    Phuket
  • Print_ISBN
    978-0-7695-3263-9
  • Type

    conf

  • DOI
    10.1109/SNPD.2008.100
  • Filename
    4617481