北京航空航天大学学报 ›› 2001, Vol. 27 ›› Issue (4): 433-437.

• 论文 • 上一篇    下一篇

基于UML活动图模型的测试用例生成技术研究

张楣, 刘超, 孙昌爱   

  1. 北京航空航天大学 计算机科学与工程系
  • 收稿日期:2000-09-20 发布日期:2010-11-19
  • 作者简介:张 楣(1976-),女,四川成都人,硕士生,100083,北京.
  • 基金资助:

    国家863高技术计划资助项目(863-306-ZD02-03-7)

Automated Test Case Generation Based on UML Activity Diagram Model

ZHANG Mei, LIU Chao, SUN Chang-ai   

  1. Beijing University of Aeronautics and Astronautics, Dept. of Computer Science and Engineering
  • Received:2000-09-20 Published:2010-11-19

摘要: 为了设计和生成系统工作流程的测试用例,引入测试大纲模型的概念,设计出从UML(Unified Modeling Language)活动图模型到测试大纲模型,再到测试用例模型的三级转换过程和一组消除活动图模型中的非结构化特征、将其转化为模块化的测试大纲模型,以及把并发子过程实例化为一组典型测试场景的基本规则.还研究了针对每一个输入操作,选择基本输入数据集,并将其赋予测试大纲模型之上,从而构造测试用例模型的方法,以及最终基于测试用例模型生成完备的测试用例集合的方法.

Abstract: In order to design and generate test cases of workflows, test outline model is defined. The three-tier process to transform an activity diagram into its test outline model and then into its test case model,as well as the test coverage criteria, is introduced, including a set of basic rules, by which unstructured flows is eliminated to modularize test outline units, and concurrency flows can be instantiated. The principles on the instantiated input data for each input operation in the system and the creation of the test case model by assigning the instantiated set of input data to the outline model,and then methods to generate the complete set of test cases based on the model are discussed.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发