首页> 外文期刊>Software >An approach of class integration test order determination based on test levels
【24h】

An approach of class integration test order determination based on test levels

机译:基于测试水平的类集成测试订单确定方法

获取原文
获取原文并翻译 | 示例
       

摘要

In recent years, many approaches have been developed to determine the order of tested classes in interclass integration test. However, existing approaches are inaccurate, as they ignore the influence of abstract classes and polymorphism. In this paper, we propose a test-level-based approach to deal with class-integration-test order, in which both abstract classes and polymorphism are taken into account. First, based on interclass dependence analysis, we develop an edge-removing algorithm to eliminate cycles caused by static and dynamic dependencies, taking abstract classes and polymorphism into account. Then, after eliminating cycles, we propose a class-integration-test order algorithm based on test levels, including static and dynamic test levels. In this algorithm, we take into account the fact of some test levels infeasible caused by the characteristic of abstract classes that they cannot be instantiated and offer corresponding adjustment strategy. Finally, we design and implement a test level order generator. The experimental results show that the proposed strategy needs less test stubs than the most typically graph-based approaches. Copyright (c) 2014 John Wiley & Sons, Ltd.
机译:近年来,已经开发出许多方法来确定类间集成测试中被测试类的顺序。但是,现有方法不准确,因为它们忽略了抽象类和多态性的影响。在本文中,我们提出了一种基于测试级别的方法来处理类集成测试顺序,该方法同时考虑了抽象类和多态性。首先,基于类间相关性分析,我们开发了一种消除边缘的算法,以消除由静态和动态相关性引起的循环,同时考虑了抽象类和多态性。然后,在消除周期之后,我们提出了一种基于测试级别(包括静态和动态测试级别)的类集成测试顺序算法。在该算法中,我们考虑到由于抽象类的特性而无法实例化的某些测试级别不可行的事实,并提供了相应的调整策略。最后,我们设计并实现了一个测试级订单生成器。实验结果表明,与最典型的基于图的方法相比,所提出的策略需要更少的测试存根。版权所有(c)2014 John Wiley&Sons,Ltd.

著录项

  • 来源
    《Software》 |2015年第5期|657-687|共31页
  • 作者单位

    China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Jiangsu, Peoples R China;

    China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Jiangsu, Peoples R China;

    China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Jiangsu, Peoples R China;

    China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Jiangsu, Peoples R China;

    China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Jiangsu, Peoples R China;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    integration test; abstract classes; polymorphism; test levels; generator; test stubs;

    机译:集成测试;抽象类;多态性;测试级别;生成器;测试存根;
  • 入库时间 2022-08-18 02:50:42

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号