Communications of the ACM
Software testing techniques (2nd ed.)
Software testing techniques (2nd ed.)
Object oriented design with applications
Object oriented design with applications
Introducing Objectcharts or How to Use Statecharts in Object-Oriented Design
IEEE Transactions on Software Engineering
Object-oriented modeling and design
Object-oriented modeling and design
The State-Based Testing of Object-Oriented Programs
ICSM '93 Proceedings of the Conference on Software Maintenance
Hi-index | 0.01 |
Since class objects are the major components in object-oriented (oo) programs during run-time, specifying and testing the behavior of these objects become important tasks 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, an object state model is needed to represent the dynamic behavior of a complex object. This paper proposes a specification-based test model, called object state diagram (OSD), to capture and represent behavior of each class data attribute as well as its state behavior for the inherited attributes and/or encapsulated concurrent objects. The model is an extension of the existing state models, it supports basic oo features, such as class objects, inheritance, aggregation and overloading. The detailed discussion about the object state constructions based on a class specification and operation specifications are provided. In addition, the OSD applications in testing of object-oriented programs are addressed.