首页> 外文会议>Information and Communications Technology, 2005. Enabling Technologies for the New Knowledge Society: ITI 3rd International Conference on >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状态图。主要目的是在不修改基本类原始行为的情况下,验证此集成是否正确完成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号