检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]江苏大学计算机科学与通信工程学院,江苏镇江212013
出 处:《计算机工程》2011年第21期55-57,共3页Computer Engineering
基 金:国家自然科学基金资助项目(60572112);江苏省高技术研究基金资助项目(BG2007028)
摘 要:提出一种基于统一建模语言(UML)活动图的功能测试场景生成方法。在给出活动图形式化定义的基础上,划分并压缩循环结构模块与并发结构模块,采用带回溯的深度优先遍历法提取含有复合节点的测试场景,进行解压循环与并发。利用拓扑反蚁群算法处理并发结构模块,解决并发活动排序导致的场景爆炸问题,根据路径复杂性设置场景优先级以提高测试效率。应用结果验证了该方法的可行性和实用性。This paper presents a functional test scenarios generation method based on Unified Modeling Language(UML) activity diagrams.On the basis of formalizing the activity diagram,the cycle structure module and concurrent structure module are divided and compressed.The test scenarios which contain composite nodes are extracted with depth-first traversal method,and decompresses these compressed modules.The scenarios number explosion problem which is brought about by sorting concurrent activities,is resolved by an innovative topological anti-ant algorithm.To improve the test efficiency,priorities are designed for every scenarios generated,and dynamically readjusted according to the path complexity.Application results show the method is feasibility and practicality.
关 键 词:活动图 测试场景 并发 反蚁群算法 优先级 统一建模语言
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.46