Testing Extensible Design Patterns in Object-Oriented Frameworks through Scenario Templates

Wei-Tek Tsai,Yongzhong Tu,Weiguang Shao,Ezra Ebner
DOI: https://doi.org/10.1109/CMPSAC.1999.812695
1999-01-01
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 later one. 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.
What problem does this paper attempt to address?