An UML Statechart Diagram-Based MM-Path Generation Approach for Object-Oriented Integration Testing
Authors: Ruilian Zhao, Ling Lin
Abstract:
MM-Path, an acronym for Method/Message Path, describes the dynamic interactions between methods in object-oriented systems. This paper discusses the classifications of MM-Path, based on the characteristics of object-oriented software. We categorize it according to the generation reasons, the effect scope and the composition of MM-Path. A formalized representation of MM-Path is also proposed, which has considered the influence of state on response method sequences of messages. .Moreover, an automatic MM-Path generation approach based on UML Statechart diagram has been presented, and the difficulties in identifying and generating MM-Path can be solved. . As a result, it provides a solid foundation for further research on test cases generation based on MM-Path.
Keywords: MM-Path, Message Sequence, Object-Oriented Integration Testing, Response Method Sequence, UML Statechart Diagram.
Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1085768
Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 2609References:
[1] W. K. Chan, T. Y. Chen, T. H. Tse, "An Overview of Integration Testing Techniques for Object-Oriented Programs," Proceeding of the 2nd ACIS Annual International Conference on Computer and Information Science (ICIS 2002), 2002
[2] R.V. Binder, Testing Object-Oriented Systems-Models, Patterns, and Tools, Addison-Wesley, pp.63-107, 1999
[3] Paul C. Jorgensen, Software Testing: A Craftsman's Approach (Second Edition), Simplified Chinese language edition, China Machine Press,pp. 187-210, 2000
[4] James Rumbaugh, Ivar Jacobson, Grady Booch, The Unified Modeling Language Reference Manual, Addison-Wesley, pp. 85-110, 1999
[5] Y. K. Kim, H. S. Hong, D. H. Bae, "Test Cases Generation From UML State Diagrams," IEEE Proc. Software, Vol. 146, No. 4, 1999
[6] Jean Hartmann, Claudio Imoberdorf, Michael Meisinger, "UML-Based integration testing," Proceedings of the 2000 ACM SIGSOFT international symposium on Software testing and analysis, pp. 60-70, 2000
[7] Supaporn Kansomkeat, Wanchai Rivepiboon, "Automated-generating Test Case Using UML Statechart Diagrams," Proceedings of the 2003 annual research conference of the South African institute of computer scientists and information technologists on Enablement through technology, pp.296-300, Sep. 2003
[8] Philip Samuel, Rajib Mall,"Boundary Value Testing based on UML Models," Proceedings of the 14th Asian Test Symposium (ATS'05), pp.94-99,Dec. 2005
[9] Marlon Vieira, Johanne Leduc, Bill Hasling, Rajesh Subramanyan, Juergen Kazmeier,"Automation of GUI testing using a model-driven approach," Proceedings of the 2006 international workshop on Automation of software test, pp. 9-14, May. 2006
[10] Y. Wu, M. Chen, J. Offutt, "UML-based Integration Testing for Component-Based Software," 2nd International Conference on COTS-Based Software Systems (ICCBSS), Ottawa, pp.251-260, 2003
[11] Paul C. Jorgensen, Carl Erickson, Object-Oriented Integration Testing, Communications of ACM, Vol.37,No. 9, pp. 30-38, 1994
[12] Di Lucca G A, Fasolino A R, Carlini U D. "Recovering Use Case Models from Object-oriented Code: A Thread-based Approach," In Proc. of 7th Working Conf. on Reverse Engineering (WCRE'00), IEEE Computer SocietyPress,pp.108-177,2000