首页> 外文会议> >A reverse engineering approach for software testing of object-oriented programs
【24h】

A reverse engineering approach for software testing of object-oriented programs

机译:面向对象程序的软件测试的逆向工程方法

获取原文

摘要

Object-oriented features such as encapsulation, inheritance, and state dependent behaviour raise new problems in software testing. In this paper, we describe a reverse engineering approach for software testing of object-oriented programs. The approach is based on a graphic model which consists of three types of diagram: object relation diagrams (ORD), block branch diagrams (BBD), and object state diagrams (OSD). An ORD presents the inheritance, aggregation, and association relations among the object classes. A BBD presents, for a member function, the control structure, the input parameters and output parameters, the external data that are used and affected, and other functions that are invoked. An OSD presents the states and state transitions. These diagrams are generated from C++/Java source code and may be used to 1) provide guidance on the order to test the classes and member functions; 2) prepare member function test cases; 3) prepare test cases for object state dependent behaviours and interaction between such behaviours; and 4) provide a graphic display of coverage information to a tester.
机译:诸如封装,继承和状态依赖行为之类的面向对象功能在软件测试中提出了新问题。在本文中,我们描述了一种用于面向对象程序的软件测试的逆向工程方法。该方法基于图形模型,该图形模型由三种类型的图组成:对象关系图(ORD),块分支图(BBD)和对象状态图(OSD)。 ORD表示对象类之间的继承,聚合和关联关系。 BBD为成员函数提供控制结构,输入参数和输出参数,使用和受影响的外部数据以及其他调用的函数。 OSD显示状态和状态转换。这些图是从C ++ / Java源代码生成的,可用于1)提供有关测试类和成员函数的顺序的指导; 2)准备成员功能测试用例; 3)为对象状态相关的行为以及这些行为之间的交互准备测试用例;和4)向测试人员提供覆盖范围信息的图形显示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号