Title :
Object state testing for object-oriented programs
Author :
Gao, Jerry Z. ; Kung, David ; Hsia, Pei ; Toyoshima, Y. ; Chen, C.
Author_Institution :
Texas Univ., Arlington, TX, USA
Abstract :
Since class objects are the major components in object oriented (OO) programs during run time, testing the behavior of these objects become an important task in testing of object oriented programs to complement other types of testing, such as, structure testing and functional testing. To check the behavior of objects in OO programs, it is essential to check each state and each transition for every object. The paper proposes a new test model, called object state diagram, to capture and represent the dynamic behavior of objects in an OO program. The model is an extension of the existing state models, it supports basic OO features, such as class objects, inheritance, aggregation and overloading. Unlike other models, it is a concurrent, communicating state machine which has the capability of representing the object state hierarchy for a complex class object. Based on this model we address the issues and solutions to object state test strategy, test criteria and test generation
Keywords :
abstract data types; object-oriented programming; program testing; OO features; OO programs; aggregation; behavior testing; class objects; communicating state machine; complex class object; dynamic behavior; functional testing; inheritance; object oriented programs; object state diagram; object state hierarchy; object state test strategy; object state testing; object-oriented programs; overloading; structure testing; test criteria; test generation; Automata; Automatic testing; Object oriented modeling; Runtime; Software design; Software testing; System testing;
Conference_Titel :
Computer Software and Applications Conference, 1995. COMPSAC 95. Proceedings., Nineteenth Annual International
Conference_Location :
Dallas, TX
Print_ISBN :
0-8186-7119-X
DOI :
10.1109/CMPSAC.1995.524785