首页 | 本学科首页   官方微博 | 高级检索  
     

一种新的面向对象软件集成测试序列生成方法
引用本文:苏荟. 一种新的面向对象软件集成测试序列生成方法[J]. 软件, 2012, 0(3): 75-76,79
作者姓名:苏荟
作者单位:西安财经学院信息学院西安710100
摘    要:集成测试是面向对象软件测试中的重要环节。UML不仅在软件分析领域具有重要作用,同时是软件测试的有力依据。在本文中,提出了一种以UML类图为基础的面向对象软件集成测试的测试序列生成方法。从UML类图中提取类的所有信息。然后依据提取的信息计算每个类的内聚度和类间耦合度,将计算结果存入数据库中。最后根据计算的类间耦合度与类的内聚度从高到低对类进行遍历。最后生成集成测试时的类测试序列。经证明该方法对于软件有较好效果。

关 键 词:UML类图  测试序列  面向对象软件测试

A New Method to Generating OO Integration Testing Scenarios
SU Hui. A New Method to Generating OO Integration Testing Scenarios[J]. Software, 2012, 0(3): 75-76,79
Authors:SU Hui
Affiliation:SU Hui (School of Information, Xi’an University of Finance and Economics, Xi’an 710100)
Abstract: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.
Keywords:UML class diagram  testing scenarios  OO integrate testing
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号