节点文献

基于活动图模型测试剖面的测试用例生成方法

Approach to Test Case Generation Based on Test Profiles

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 祝玉芬刘超

【Author】 of Activity Diagram ZHU Yufen, LIU Chao (Department of Computer Science and Engineering, Beijing University of Aeronauti cs and Astronautics, Beijing 100083)

【机构】 北京航空航天大学计算机科学与工程系北京航空航天大学计算机科学与工程系 北京100083北京100083

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

【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.

【基金】 国家自然科学基金资助项目(60073005);国家“863”计划资助项目(2001AA113 100)
  • 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2003年21期
  • 【分类号】TP391.41
  • 【被引频次】13
  • 【下载频次】215
节点文献中: 

本文链接的文献网络图示:

本文的引文网络