Testing of Interaction Patterns for Hot Spots in an Object-oriented Framework

객체 지향 프레임웍의 가변부위에 대한 상호작용 패턴의 테스트 방법

  • Published : 2005.07.01

Abstract

Systematically extracting the test patterns of hot spots in an object-oriented software framework is a prerequisite for thoroughly testing the framework's functionality in a variety of contexts in which the framework is extended for reuse. This paper proposes a method for analyzing the design patterns and extracting the test patterns from the interaction test patterns of hot spots in an object-oriented framework. Based on the design pattern of the framework's hot spot, our method captures the object behavior allowed in that hot spot by means of statecharts, which are then used to generate the interaction test patterns and test cases. The generated test patterns and test cases can be applied repeatedly to applications which are built from extending the framework.

프레임웍의 기능성을 철저하게 테스팅하기 위해서는 객체 지향 프레임웍의 재사용 시에 확장되는 가변 부위(hot spots)에 대한 체계적인 테스트 패턴 추출이 필수적이다. 본 논문에서는 프레임웍 가변부위의 설계 패턴을 분석하여 가변부위의 상호작용(interaction) 패턴으로부터 테스트 패턴을 추출하는 방법을 제안한다. 프레임웍 가변 부위의 설계 패턴에서 나타날 수 있는 객체들의 상호 작용은 상태도(statechart)로 표현되며, 표현된 상태도는 테스트 패턴 및 테스트 케이스를 생성하는데 사용된다. 생성된 테스트 패턴은 프레임웍을 확장하여 만들어진 어플리케이션들에 반복 적용되어 사용될 수 있다.

Keywords

References

  1. Fayad, M.E., et al., Building Application Frameworks, John Wiley & Sons (1999)
  2. Gregory F. Rogers, 'Framework-Based Software Development in C++,' Prentice Hall PTR, 1997
  3. Taligent Inc., 'Building Object-Oriented Frameworks,' A Taligent White Paper, 1994
  4. Pree,W., Design Patterns for Object-Oriented Software Development, Addison-Wesley, 1995
  5. Gamma,E., R. Helm, R. Johnson, and J. Vlissides, Design Patterns: Elements of Heusable Object-Oriented Software, Addison-Wesley, 1995
  6. Doong, R. and Frankl, P., 'The ASTOOT Approach to Testing Object-Oriented Programs,' ACM Trans. Software Eng. and Methodology, Vol. 3, No.2 (1994) 101-130 https://doi.org/10.1145/192218.192221
  7. Hoffman, D. and Strooper, P., 'ClassBench: a Framework for Automated Class Testing,' Software Maintenance: Practice and Experience, Vol. 27, No.5 (1997) 573-597 https://doi.org/10.1002/(SICI)1097-024X(199705)27:5<573::AID-SPE98>3.0.CO;2-3
  8. Harrold, M.J., et al., 'Incremental Testing of Object-Oriented Class Structures,' Proc. 14th Int'l Conf. Software Eng. (1992) 68-80 https://doi.org/10.1145/143062.143093
  9. Jorgensen, P.C. and Erickson, c., 'Object-Oriented Integration Testing,' Comm. ACM, Vol. 37, No.9 (1994) 30-38 https://doi.org/10.1145/182987.182989
  10. Robert V. Binder, Testing Object-Oriented Systems: Models, Patterns, and Tools, Addison-Wesley, 2000
  11. The XUnit Home Page, http//www.xprogramming.com/software.htm
  12. Gamma, E. and Beck, K. 'JUnit A Cook's Tour,' Java Report (1995)
  13. Stocks,P. A., and Carrington,D. A., 'Test templates: a specification-based testing framework,' Proceedings of the 15th international conference on Software Engineering, May 17-21, 1993, Baltimore, MD, USA, pp. 405-414
  14. Wolfgang Grieskamp, Yuri Gurevich, Wolfram Schulte, Margus Veanes, 'Generating finite state machines from abstract state machines,' ACM SIGSOFT Software Engineering Notes, Volume 27 Issue 4, July 2002 https://doi.org/10.1145/566172.566190
  15. Fayad, M.E., et aI., 'Built-In Test Reuse,' In the Building Application Frameworks, Fayad, M.E., et al, John Wiley & Sons (1999) 488-491
  16. Weik-Tek Tsai, Yongzhong Tu, Weiguang Shao, Ebner, E., 'Testing extensible design patterns in object-oriented frameworks through scenario templates,' Computer Software and Applications Conference, in Proceedings of COMPSAC '99, The Twenty-Third Annual International, 27-29 Oct. 1999 Page(s): 166-171 https://doi.org/10.1109/CMPSAC.1999.812695
  17. Taewoong Jeon, Hyon Woo Seung, Sungyoung Lee, 'Embedding built-in tests in hot spots of an object-oriented framework,' ACM SIGPLAN Notices, Volume 37 Issue 8, August 2002 https://doi.org/10.1145/596992.597001
  18. J. B. Wordsworth, Software Development with Z, Addison-Wesley, 1992