摘要
概述了构件及其测试技术的基本概念和特征,并在对元数据的基本概念和含义进行概述的基础上,使用UML方法给出了相应的元模型,根据上述模型的具体概念描述了UML用例到测试用例的映射方法。构造了构件元数据的组成元素,给出了嵌入该元数据后的测试模型。详细描述了用上述方法实现的一个实例——学生成绩管理构件,并针对该实例的应用提出了相应的测试框架,最后给出相应的结论。
Firstly, the basic concepts and characteristics of component and its testing techniques are summarized. Based on summarizing the notions and meanings of metadata, use ease recta-model and test case recta-model are presented using UML methods based on rectadata. And the mapping method of use case to test case is described. Then the elements of metadata and the test model embedded in the metadata arc constructed. Lastly, an example implemented is expounded by above methods-a component (C-radeMana), and relating testing framework addressing the applying of above example are presented. Lastly, the relevant results is evaluated.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第23期4444-4446,4578,共4页
Computer Engineering and Design
基金
海军工程大学科研基金项目(E983)
关键词
构件
构件软件测试
构件元数据
UML
测试用例
component
component-based software testing
component metadata
unified modeling language
test case