首页> 外文期刊>Science of Computer Programming >Integration testing of Object-Oriented and Aspect-Oriented programs: A structural pairwise approach for Java
【24h】

Integration testing of Object-Oriented and Aspect-Oriented programs: A structural pairwise approach for Java

机译:面向对象和面向方面的程序的集成测试:Java的结构化成对方法

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

摘要

Several testing approaches focus on finding faults in software units of implementation. A problem not addressed by unit testing is the interaction among units, with respect to the correctness of their interfaces. In this paper a structural integration testing approach for Object-Oriented (OO) and Aspect-Oriented (AO) Java programs is presented. To make the activity more feasible, we address the testing of pairs of units (i.e., methods and pieces of advice). A model called P W D U (PairWise Def-Use) graph to represent the flow of control and data between pairs of units is proposed. Based on the P W D U, the following family of testing criteria is defined: all-pairwise-integrated-nodes (control-flow based), all-pairwise-integrated-edges (control-flow based), and all-pairwise-integrated-uses (dataflow based). To evaluate the proposed approach, an implementation of the criteria in a testing tool is presented along with an example of usage and an exploratory study. The study with 7 AO programs that are also OO was conducted to investigate the cost of application and usefulness of the approach. Results provided evidence that the criteria are practical and useful for integration testing of OO and AO programs.
机译:几种测试方法侧重于发现实施软件单元中的错误。单元测试无法解决的问题是单元之间的交互,就其接口的正确性而言。在本文中,提出了面向对象(OO)和面向方面(AO)Java程序的结构集成测试方法。为了使这项活动更可行,我们着眼于成对单元的测试(即方法和建议)。提出了一种称为P W D U(PairWise Def-Use)图的模型,用于表示成对的单元之间的控制和数据流。基于PWDU,定义了以下测试标准系列:所有成对集成节点(基于控制流),所有成对集成边缘(基于控制流)和所有成对集成用途(基于数据流)。为了评估所提出的方法,提出了在测试工具中执行标准的方法以及用法和探索性研究的示例。对7个AO程序(也都是OO)进行了研究,以研究该方法的应用成本和实用性。结果提供了证明该标准对于OO和AO程序的集成测试是实用且有用的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号