The Test Path Generation from State-Based Polymorphic Interaction Graph for Object-Oriented Software

Ching-Seh Mike Wu, Chi-Hsin Huang, Yen-Ting Lee · 2013

Successful integration of classes makes functionalities work correctly in software. The individual class usually functions correctly, but when the classes are integrated several unexpected faults may occur. In Object-Oriented software it is particularly hard to detect faults when classes are integrated because of inheritance, polymorphism and dynamic binding. Software designers use Unified Modeling Language (UML) to create an abstract system scenario and to visualize the system's architecture. A lot of research reveals that UML is not only for software design, but also for software testing. More and more researchers have realized UML models can be a source for Object-Oriented software testing. This paper proposes an intermediate test model called the Polymorphism State SEquence Test Model (PSSETM), which is generated from sequence diagram, class diagram and state-charts for integration testing. The example of Bookstore System shows the PSSETM test model is able to exhibit the possible state of object and the polymorphic information of class. Based on the PSSETM test model, various coverage criteria are defined to generate valid test paths to enhance testing on interaction among classes and the polymorphism of class.

Read the paper · More papers on PaperTik