基于活动图模型测试剖面的测试用例生成方法  被引量:2

Approach to Test Case Generation Based on Test Profiles

在线阅读下载全文

作  者:祝玉芬[1] 刘超[1] 

机构地区:[1]北京航空航天大学计算机科学与工程系,北京100083

出  处:《计算机工程》2003年第21期45-47,共3页Computer Engineering

基  金:国家自然科学基金资助项目(60073005);国家"863"计划资助项目(2001AA113 100)

摘  要:给出了测试用例的定义和如何根据UML活动图模型来生成测试用例的基本方法, 包括基于活动图模型控制流结构的测试场景生成和针对活动的输入量的测试数据生成。根据 活动图模型的层次型特点,引入了针对活动的层次化的测试剖面(Test Profiles)概念和 输入输出数据描述规范,用以支持用户在活动图上分层次地提供有关测试数据生成的约束条 件。同时,给出了基于测试剖面的基本测试数据的生成方法,以及基于测试场景和基本测试 数据的组合来生成一组测试用例的方法。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.

关 键 词:测试用例 UML活动图 测试场景 测试剖面 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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