检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:苏荟[1]
出 处:《软件》2012年第3期75-76,79,共3页Software
摘 要:集成测试是面向对象软件测试中的重要环节。UML不仅在软件分析领域具有重要作用,同时是软件测试的有力依据。在本文中,提出了一种以UML类图为基础的面向对象软件集成测试的测试序列生成方法。从UML类图中提取类的所有信息。然后依据提取的信息计算每个类的内聚度和类间耦合度,将计算结果存入数据库中。最后根据计算的类间耦合度与类的内聚度从高到低对类进行遍历。最后生成集成测试时的类测试序列。经证明该方法对于软件有较好效果。Integrated testing is an important part of OO software testing. UML is useful not only in software design but also in soft- ware testing. In this paper, an testing scenarios approach based on UML class diagram is presented, which is in terms of OO software’s inte- grated testing features. Firstly, class’s massages are taken out from UML class diagram. Secondly, the class cohesion and degree of coupling between classes are computed according to definitions in paper and saved in database. Thirdly, select the class info from database standing on the degree of coupling between classes from big to small. Finally, the OO integrate testing scenarios are created and put out .The experi- ments show that the method is effective.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.116