节点文献
基于活动图模型测试剖面的测试用例生成方法
Approach to Test Case Generation Based on Test Profiles
【摘要】 给出了测试用例的定义和如何根据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.
【Key words】 Test case; UML activity diagram; Test scenario; Test profile;
- 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2003年21期
- 【分类号】TP391.41
- 【被引频次】13
- 【下载频次】215