检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京邮电大学计算机学院,江苏南京210003
出 处:《计算机技术与发展》2010年第8期49-51,55,共4页Computer Technology and Development
基 金:国家科技支撑计划(2007BAH17B04)
摘 要:基于模型的测试用例生成方法已经被软件行业所接受。这种方法的优点在于可以及早地发现缺陷,减少软件开发的时间等等。现在,研究者已经考虑从UML图中获得测试用例。文中介绍了一种从UML2.0活动图中产生测试用例的方法。提出了活动路径覆盖准则,重点分析并发活动的顺序及排列,引入深度优先与广度优先结合的生成算法,避免了测试用例数量爆炸,提高了自动化生成测试用例的可行性,从而为UML活动动图的自动化测试提供了系统的、有效的、可行的方法。Model-based test case generation is gaining acceptance to the software practitioners.Advantages of this are the early detection of faults,reducing software development time etc.In recent times,researchers have considered different UML diagrams for generating test cases.In this paper,present an approach of generating test cases from activity diagrams using UML 2.0 syntax and with use case scope.Also consider a test coverage criterion,called activity path coverage criterion.Then the permutation of intercurrent activity was analyzed.Then BFS and DFS is used in the algorithm.It reduces the number of test cases,promotes the feasibility of automatic generating test case.At last,how to get test case from test scenario was discussed.Thereby automatic generating test case from UML activity diagram became systemic,feasible and effective.
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.220.25.158