Class Hierarchical Test Case Generation Algorithm Based on Expanded Emdpn Model

Li Jun-yi,Gong Hong-fang,Hu Ji-ping,Zou Bei-ji,Sun Jia-guang
DOI: https://doi.org/10.1007/s11771-006-0020-x
2006-01-01
Journal of Central South University of Technology
Abstract:A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical test-case generation algorithm with cooperated paths (copaths) was proposed, which can be used to solve the problems resulting from the class inheritance mechanism encountered in object-oriented software testing such as oracle, message transfer errors, and unreachable statement. Finally, the testing sufficiency was analyzed with the ordered sequence testing criterion(OSC). The results indicate that the test cases stemmed from newly proposed automatic algorithm of copaths generation satisfies synchronization message sequences testing criteria, therefore the proposed new algorithm of copaths generation has a good coverage rate.
What problem does this paper attempt to address?