首页 | 官方网站   微博 | 高级检索  
     

基于活动图模型测试剖面的测试用例生成方法
引用本文:祝玉芬,刘超.基于活动图模型测试剖面的测试用例生成方法[J].计算机工程,2003,29(21):45-47.
作者姓名:祝玉芬  刘超
作者单位:北京航空航天大学计算机科学与工程系,北京,100083
基金项目:国家自然科学基金资助项目(60073005),国家“863”计划资助项目(2001AA113 100)
摘    要:给出了测试用例的定义和如何根据UML活动图模型来生成测试用例的基本方法,包括基于活动图模型控制流结构的测试场景生成和针对活动的输入量的测试数据生成。根据活动图模型的层次型特点,引入了针对话动的层次化的测试剖面(Test Profiles)概念和输入输出数据描述规范,用以支持用户在活动图上分层次地提供有关测试数据生成的约束条件。同时,给出了基于测试剖面的基本测试数据的生成方法,以及基于测试场景和基本测试数据的组合来生成一组测试用例的方法。

关 键 词:测试用例  UML活动图  测试场景  测试剖面
文章编号:1000-3428(2003)21-0045-03
修稿时间:2002年11月12

Approach to Test Case Generation Based on Test Profiles of Activity Diagram
of Activity Diagram ZHU Yufen,LIU Chao.Approach to Test Case Generation Based on Test Profiles of Activity Diagram[J].Computer Engineering,2003,29(21):45-47.
Authors:of Activity Diagram ZHU Yufen  LIU Chao
Abstract:Definition of test case is brought out at the beginning of the paper , then the test case generation model is put forward, which consists of the gene ration of scenarios based on the control flows of activity model and the generat ion of basic test data for the input of activities. Considering the layered stru cture of the activity diagrams, the concept of layered test profiles for activit ies and the test specification on input and output data are introduced, which ca n be used to describe test requirements and constricts for the test data generat ion. Meanwhile, the approach to generate basic test data for each input of the a ctivity upon its test profile and test cases upon the combination of test scenar ios and basic test data are also presented.
Keywords:Test case  UML activity diagram  Test scenario  Test profile
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号