摘要
构件模型不仅是构件使用者理解、使用构件的重要依据,也是构件开发者和构件使用者测试构件的基础。目前已有的构件模型主要从分析设计以及使用的角度描述构件,对构件测试中的测试要素的描述并不充分。在分析已有构件模型和构件测试要素的基础上,提出了扩展UML2.0描述的面向测试的多视图构件模型,并给出了实例。
The component model is regarded as the foundation of many tasks such as understanding and choosing component for component user,testing component for component developer and user. However,what and how to represent for component is a key problem. Now there have been some approaches to represent component from a component's structure and behavior point of view. But, it is not enough to describe test elements in the component testing. In this paper, based on typical four levels of component model., interface, static behavior, dynamic behavior, and interaction protocol, test elements are suggested to describe in the component behavior. UML 2. 0 is used to describe component model.
出处
《计算机科学》
CSCD
北大核心
2007年第1期208-212,共5页
Computer Science
基金
国家自然科学基金资助项目(60373016)
国家863高技术项目(2004AA112030)