An Effective Test Data Selection Technique for Customized COM Components and its Empirical Study

맞춤된 COM 컴포넌트를 위한 효과적인 테스트 데이타 선정 기법과 적용사례

  • Published : 2004.06.01

Abstract

Component users must customize components they obtain from providers, in order to fit them to their own purposes. Normally, a component consists of black-box parts and white-box parts. Component users customize a component by modifying white-box parts of a component, and the customization faults appear through the interaction between black-box parts and white-box parts. Customization testing could be an integration testing of these two parts of a component. Also, customization testing in CBSD should select effective test data to reduce the testing cost, since CBSD aims to reduce the development cost. Therefore, this paper proposes a customization testing technique based on COM architecture through analyzing many COM components, and the technique selects effective test data. This paper evaluates the effectiveness of the test data selected by the proposed technique through an empirical study. It applies the techlique to a large-scale component-based system, Chamois, and it shows that the technique enables us to test customized COM components that run in a real component-based system

컴포넌트 기반 개발에서 컴포넌트 사용자는 개발 목적에 맞추어 컴포넌트를 맞춤 할 필요가 있다. 컴포넌트는 그 내부에 블랙박스특성을 갖는 부분과 화이트박스특성을 갖는 부분이 공존하고, 맞춤으로 인해 화이트박스 부분이 변형되며, 이때 발생하는 오류는 블랙박스 부분과 화이트박스 부분의 상호작용을 통해 나타나게 된다. 블랙박스 부분과 화이트박스 부분 사이의 통합 테스트인 맞춤 테스트를 위해서 새로운 테스트 기법이 요구된다. 또한 테스트 기법이 비용 절감 효과를 노리는 컴포넌트 기반 개발에 사용되기 위해서는 효율적인 테스트 데이타의 선정이 요구된다. 따라서 본 논문에서는 컴포넌트 아키덱쳐로 COM(Component Object Model)을 대상 컴포넌트로 선정하고, 다양한 COM 컴포넌트들의 분석을 통하여 효율적인 테스트 데이타를 선정하는 맞춤 테스트 기법을 제안한다. 본 논문에서는 제안하는 기법이 선정하는 테스트 데이타가 오류 감지 능력에 있어서 효과적이라는 것을 실험을 통해 평가한다. 또한 본 기법을 실제 대규모 컴포넌트 기반 시스템인 샤모아에 적용하는 예제를 수행함으로써, 본 기법이 컴포넌트 기반 시스템의 일원으로서 실제 동작하는 COM 컴포넌트의 맞춤을 테스트할 수 있음을 보인다.

Keywords

References

  1. Johanna Ambrosio, 'Testing key to Component Quality,' Application Development Trends, pp.19-28, Oct. 2002
  2. Hoijin Yoon, Byoungju Choi, 'Component Customization Testing Technique Using Fault Injection Technique and Mutation Test Criteria,' in Proc. Mutation 2000, San Jose, USA, pp 93-100, Oct.6-7, 2000
  3. Hoijin Yoon, Byoungju Choi, 'Effective Test Case Selection for Component Customization and Its Application to EJB,' The Software Testing, Verification, and Reliability journal, to be appeared on Vol.14 No.1 March 2004 https://doi.org/10.1002/stvr.276
  4. Won Kim, Ki-Joon Chae,Dong-Sub Cho, Byoungju Choi, Anmo Jeong, Myung Kim, KiHo Lee, Meejeong Lee, Sang-He Lee, Seung-Soo Park, Hwan-Seung Yong, 'The Chamois Componentbased Knowledge Engineering Framework,' IEEE Computer Journal, May 2002 https://doi.org/10.1109/MC.2002.999775
  5. Marcio E. Delamaro, jose C. Maldonado, Aditya P. Mathur, 'Integration Testing Using Interface Mutations,' August 28, 1997 https://doi.org/10.1109/ISSRE.1996.558719
  6. S. Ghosh: Testing Component-Based Distributed Applications. Ph. D Dissertation, Department of Computer Science in Purdue University. 2000
  7. Component Object Model, http://msdn.microsoft.com/library
  8. Won Kim, Byoungju Choi, Eui-Kyeong Hong, Soo-Kyung Kim, Doheon Lee, 'A Taxonomy of Dirty Data,' The Data Mining and Knowledge Discovery Journal, Vol.7, No.1. pp.81-99, 2003 https://doi.org/10.1023/A:1021564703268
  9. W. Eric Wong, Joseph R. Horgan, Aditya P. Mathur, and Alberto Pasquini, 'Test Set Size Minimization and Fault Detection Effectiveness: A Case Study in a Space Application,' Proceeding of COMPSAC97. pp. 522-529, Washington D.C., USA, 1997 https://doi.org/10.1109/CMPSAC.1997.625062
  10. Aditya P. Mathur and W. Eric Wong, 'Comparing the Fault Detection Effectiveness of Mutation and Data Flow Testing: An Empirical Study,' SERC-TR-146-P, Purdue University. 1993