首页> 外文会议>International Conference on Information and Communications Technology >Generating Unit Test Sequences for Aspect-Oriented Programs: Towards a Formal Approach Using UML State Diagrams
【24h】

Generating Unit Test Sequences for Aspect-Oriented Programs: Towards a Formal Approach Using UML State Diagrams

机译:生成面向方面的程序的单元测试序列:使用UML状态图迈向正式的方法

获取原文

摘要

Aspect-Oriented Programming is an emerging software engineering paradigm that improves separation of crosscutting concerns in a program. Existing object-oriented programming languages suffer from a serious limitation in modularizing adequately crosscutting concerns. Many concerns crosscut several classes in an object-oriented system. However, in spite of the many claimed benefits that the aspect paradigm seems to be offering, it remains clear that it is not yet mature. Aspect technology introduces, in fact, new dimensions in terms of control and complexity. Moreover, aspects have great latitude to interact with basic classes of a system. Those interactions constitute a new source for faults in a program. Existing object-oriented testing techniques are not adequate for testing aspect-oriented programs. Thus, new testing techniques must be developed for aspect-oriented programs. We present, in this paper, a new technique for aspect-oriented unit testing based on dynamic behavior. We also introduce several testing criteria. We focus on the integration of one or more aspects to a class. The proposed technique is based on UML statecharts. The primary objective is to verify that this integration is done correctly, without modifying the original behavior of the basic class.
机译:面向方面的编程是一个新兴软件工程范例,可提高程序中的横切问题的分离。现有的面向对象的编程语言遭受模块化充分交叉互感的严重限制。许多人涉及面向对象系统中的几个类。然而,尽管众多声明的福利似乎似乎提供了各个方面,但它仍然很清楚它尚未成熟。 Aspect技术实际上介绍了控制和复杂性方面的新尺寸。此外,各个方面都有很大的纬度来与系统的基本类交互。这些交互构成了程序中的错误的新源。现有的面向对象的测试技术不适用于测试面向方面的程序。因此,必须为面向方面的程序开发新的测试技术。本文介绍了一种基于动态行为的面向方面的单元测试的新技术。我们还介绍了几种测试标准。我们专注于将一个或多个方面的整合到一个类。该技术基于UML StateCharts。主要目标是验证此集成是否正确完成,而无需修改基本类的原始行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号