作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (18): 35-37. doi: 10.3969/j.issn.1000-3428.2011.18.012

• 软件技术与数据库 • 上一篇    下一篇

分叉汇合对结构的测试场景自动生成方法

崔 霞 1,高建华 2   

  1. (1. 上海师范大学天华学院计算机科学与工程系,上海 201815; 2. 上海师范大学计算机科学与工程系,上海 200234)
  • 收稿日期:2011-04-20 出版日期:2011-09-20 发布日期:2011-09-20
  • 作者简介:崔 霞(1976-),女,讲师、硕士,主研方向:软件可靠性理论与设计,软件测试;高建华,教授、博士
  • 基金资助:
    国家自然科学基金资助项目(61073163);上海市科委基金资助项目(09220503000);上海市教委科研创新基金资助重点项目(09 22135);上海市高校培养优秀青年教师科研专项基金资助项目(thc10 05)

Automatic Test Scene Generating Method of Fork-join Pair Structure CUI Xia1, GAO Jian-hua2

CUI Xia 1, GAO Jian-hua 2   

  1. (1. Department of Computer Science and Engineering, Tianhua College of Shanghai Normal University, Shanghai 201815, China; 2. Department of Computer Science and Engineering, Shanghai Normal University, Shanghai 200234, China)
  • Received:2011-04-20 Online:2011-09-20 Published:2011-09-20

摘要: 基于UML活动图的测试场景生成方法在处理分叉汇合对的多重嵌套结构时存在一定局限性。为此,提出一种新的测试场景自动生成方法,规范分叉汇合的命名规则,增加蚂蚁记忆体及系统信息体等数据结构,利用递归处理分叉汇合多重嵌套结构,通过上海轨道交通六号线测试项目中的具体实例,验证该方法的有效性。

关键词: UML活动图, 分叉汇合, 测试场景, 细-线程树

Abstract: Aiming at the defects of automatic method for test scene generation, it standardizes the designator of fork-join pair, adds some data structures such as ant memory body, system information body and so on, processes multinest fork-join pair by recursion. The paper presents an activity diagram example of Shanghai Metro line 6 and tests the validity of the improved anti-ant algorithm.

Key words: UML activity diagram, fork-join, test scene, thin-thread tree

中图分类号: