• DocumentCode
    1577119
  • Title

    Testing of object-oriented programs based on finite state machines

  • Author

    Hong, Hyoung Seok ; Kwon, Yong Rae ; Cha, Sung Deok

  • Author_Institution
    Dept. of Comput. Sci., Korea Adv. Inst. of Sci. & Technol., Seoul, South Korea
  • fYear
    1995
  • Firstpage
    234
  • Lastpage
    241
  • Abstract
    In object-oriented testing literature, a class is considered to be a basic unit of testing. A major characteristic of classes is the interaction between data members and member functions. This interaction is represented as definitions and uses of data members in member functions and can be properly modeled with finite state machines (FSM). We discuss how FSMs can be effectively used for class testing. We demonstrate how to specify the behavior of classes using FSMs and present a test case generation technique based on FSMs. In our technique, FSMs are transformed into a flow of the graph from which we can explicitly identify data flows of the FSM. Then we generate test cases using conventional data flow testing techniques upon the flow graph
  • Keywords
    data flow graphs; finite state machines; object-oriented programming; program debugging; program testing; programming theory; class testing; data flow testing; data flows; data members; finite state machines; flow graph; member functions; object-oriented programs; program testing; test case generation technique; Automata; Automatic testing; Computer science; Flow graphs; IEEE members; Object oriented modeling;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 1995. Proceedings., 1995 Asia Pacific
  • Conference_Location
    Brisbane, Qld.
  • Print_ISBN
    0-8186-7171-8
  • Type

    conf

  • DOI
    10.1109/APSEC.1995.496972
  • Filename
    496972