基于领域Use Case需求模型的测试用例生成  

Generate test case automatically from domain use case model

在线阅读下载全文

作  者:马建红[1] 赵志丹[1] 

机构地区:[1]河北工业大学计算机科学技术与软件学院,天津300130

出  处:《计算机工程与设计》2007年第19期4589-4591,4599,共4页Computer Engineering and Design

基  金:国家自然科学基金项目(50375045);天津市自然科学基金项目(043802211);河北省教委基金项目(2004412)

摘  要:传统的Usecase模型已经被扩展用于建立领域需求模型,但该模型并不支持领域测试用例的复用和自动生成。给出了领域用例的形式化定义方式,增加了最小数据触发集的描述,提出了用例的动态模型和静态模型概念。扩展活动图用于表示用例之间的动态关系和执行过程,并将值流和对象流融入到活动图的表示中。依据用例的动态模型,可以直接产生测试用例,同时获取测试数据,从而实现领域软件需求与领域测试用例的裁剪过程一致性和同步性。Traditional use case model is used to build domain requirement model. But test case can not be generated directly from this model. The concepts of static model and dynamic model of use case are defined explicitly. As dynamic model, the activity diagram is extended to express dynamic relationship between use cases and their executed process- Test data is abstracted easily for object and value are embedded into the activity diagram. The algorithm of generating test case directly from the use case requirement domain is put forward. So, the tailor process of the domain requirement model and the domain test case consistency and synchronization is realized.

关 键 词:领域Use case模型 静态模型 动态模型 活动图 测试用例 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象