• DocumentCode
    2695942
  • Title

    A reverse engineering approach for software testing of object-oriented programs

  • Author

    Kung, David ; Hsia, Pei

  • Author_Institution
    Dept. of Comput. Sci. Eng., Texas Univ., Arlington, TX, USA
  • fYear
    1999
  • fDate
    1999
  • Firstpage
    42
  • Lastpage
    49
  • Abstract
    Object-oriented features such as encapsulation, inheritance, and state dependent behaviour raise new problems in software testing. In this paper, we describe a reverse engineering approach for software testing of object-oriented programs. The approach is based on a graphic model which consists of three types of diagram: object relation diagrams (ORD), block branch diagrams (BBD), and object state diagrams (OSD). An ORD presents the inheritance, aggregation, and association relations among the object classes. A BBD presents, for a member function, the control structure, the input parameters and output parameters, the external data that are used and affected, and other functions that are invoked. An OSD presents the states and state transitions. These diagrams are generated from C++/Java source code and may be used to 1) provide guidance on the order to test the classes and member functions; 2) prepare member function test cases; 3) prepare test cases for object state dependent behaviours and interaction between such behaviours; and 4) provide a graphic display of coverage information to a tester
  • Keywords
    data encapsulation; diagrams; inheritance; object-oriented programming; program control structures; program testing; reverse engineering; C++ source code; Java source code; aggregation; association relations; block branch diagram; classes; control structure; coverage information; encapsulation; external data; graphic display; graphic model; inheritance; input parameters; member function; member function test cases; object relation diagram; object state diagram; object-oriented programs; output parameters; reverse engineering; software testing; state dependent behaviour; state transitions; Computer science; Displays; Encapsulation; Graphics; Java; Object oriented modeling; Object oriented programming; Reverse engineering; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Application-Specific Systems and Software Engineering and Technology, 1999. ASSET '99. Proceedings. 1999 IEEE Symposium on
  • Conference_Location
    Richardson, TX
  • Print_ISBN
    0-7695-0122-2
  • Type

    conf

  • DOI
    10.1109/ASSET.1999.756750
  • Filename
    756750