Title :
Testing extensible design patterns in object-oriented frameworks through scenario templates
Author :
Tsai, Wei-Tek ; Tu, Yongzhong ; Shao, Weiguang ; Ebner, Ezra
Author_Institution :
Dept. of Comput. Sci. & Eng., Minnesota Univ., Minneapolis, MN, USA
Abstract :
Design patterns have been used in object-oriented frameworks. This paper first discusses the issues in testing applications developed with design patterns using an object-oriented framework. Two kinds of design patterns are available, extensible and static patterns, and this paper focuses on testing applications using the latter. Applications developed using extensible design patterns are difficult to test due to dynamic typing, dynamic binding, extensibility, and communication complexity. This paper then presents a technique, message framework sequence specifications (MfSS), for generating scenario templates that can be used to generate various kinds of test scenarios to test applications developed using extensible design patterns and an object-oriented framework. Finally, this paper uses the MfSS technique to test a small bank framework. The test scenarios generated successfully detected numerous faults that were seeded in the program
Keywords :
communication complexity; formal specification; object-oriented methods; object-oriented programming; program testing; communication complexity; dynamic binding; dynamic typing; extensibility; extensible design pattern testing; message framework sequence specifications; object-oriented frameworks; scenario templates; small bank framework; Application software; Complexity theory; Computer science; Design engineering; Fault detection; Guidelines; Laboratories; Runtime; Test pattern generators; Testing;
Conference_Titel :
Computer Software and Applications Conference, 1999. COMPSAC '99. Proceedings. The Twenty-Third Annual International
Conference_Location :
Phoenix, AZ
Print_ISBN :
0-7695-0368-3
DOI :
10.1109/CMPSAC.1999.812695