检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:沈剑乐[1] 王林章[1] 李宣东[1] 郑国梁[1]
机构地区:[1]南京大学计算机科学与技术系,南京210093
出 处:《计算机科学》2004年第8期179-184,共6页Computer Science
基 金:国家863高科技项目(2002AA116090);国家自然基金(6027036);江苏省自然基金(BK2002079)的资助
摘 要:UML 顺序图是基于 UML 开发的软件设计模型的重要组成部分,它描述了软件系统的动态行为,是软件集成测试过程中的一个重要的信息来源。本文提出了一个基于 UML 顺序图的场景测试方法,它以 UML 顺序图为主要测试模型,结合 UML 状态图和类图生成所有的测试场景,最后使用范畴-划分方法找到与每一场景相关的环境条件并将它与方法序列、输入、输出合理组合作为覆盖该场景的测试用例,用于测试该场景中对象之间的交互。由于 UML已广泛用于软件分析和设计阶段,通过 UML 模型生成测试用例可充分利用已有的设计结果,减少测试阶段所需的费用,对于已使用 UML 的工业界有着重要的意义。UML sequence diagram is an important component of software design model based on UML. Because it de- scribes the dynamic behaviors of a software system, it becomes a valuable information source in software integration test. This paper proposes an approach to generate scenario test cases based on UML sequence diagrams. It takes UML sequence diagrams as its main test model and generates all test scenarios combining UML state diagrams and class diagrams, then it applies category partition method to find environmental settings related to each scenario and combines them with method call sequence ,as well as input and output, to form a test case for each scenario, thus we can test the interactive behavior of the software. Because UML has been widely used in software analysis and design phrases, using UML to generate test cases can make the most of the existing design results and reduce the expenses of test phrase. Accordingly, it is significant to industry in which UML has been used.
关 键 词:UML顺序图 软件设计模型 测试用例生成 场景测试 面向对象 集成测试
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.185