首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种基于UML和CP-net集成描述的面向对象软件的交互测试方法
引用本文:刘玉林,赵玉兰,叶新铭.一种基于UML和CP-net集成描述的面向对象软件的交互测试方法[J].内蒙古大学学报(自然科学版),2004,35(4):442-445.
作者姓名:刘玉林  赵玉兰  叶新铭
作者单位:内蒙古大学计算机学院,呼和浩特,010021
基金项目:内蒙古大学青年科学基金资助项目(ND0207)
摘    要:面向对象技术在软件工程中的推广使用,使得传统的测试技术和方法受到了极大的冲击.对面向对象技术所引入的消息传递、数据抽象、封装、继承、多态等新特点,传统的测试技术已经无法有效的进行测试.对面向对象软件的测试,测试策略或方法都需要出现相应的变革或更新.本文给出一种基于UML和CP-net集成描述的面向对象软件的类集成测试方法,重点在于测试不同的类方法之间的交互行为.这种方法首先用UML和CP-net集成描述用户需求,然后基于这个描述模型,按照基本路径覆盖的标准自动产生测试例.

关 键 词:UML  CP-net  面向对象  交互测试
文章编号:1000-1638(2004)04-0442-04
修稿时间:2003年9月2日

An Approach of Object-oriented Interaction Testing Based on UML and CP-net Integrated Modeling
LIU Yu-lin,ZHAO Yu-lan,YE Xin-ming.An Approach of Object-oriented Interaction Testing Based on UML and CP-net Integrated Modeling[J].Acta Scientiarum Naturalium Universitatis Neimongol,2004,35(4):442-445.
Authors:LIU Yu-lin  ZHAO Yu-lan  YE Xin-ming
Abstract:Since the Object-oriented technology has been used in software engineering, the traditional test methods meet the big challenge. For the features of Object-orient software, like message passing, abstraction, encapsulation, polynomial, inherence. the traditional test methods can not be applied directly to Object-orient software efficiently as used. To Object-orient software, the test strategy and test methods must be adapted. In this paper, an approach of testing Objected-oriented software based on UML and CP-net integrated modeling is presented, which focus on testing message passing among difference objects, that is interactive testing.The UML and CP-net are used together to model requirements of users,then the test sequences are generate to form the model according to the basic path covering criterion.
Keywords:UML  CP-net  Object-orient  interactire testing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号