节点文献

对AOP程序进行单元测试的研究

Structural Testing of Aspect-Oriented Programs

【作者】 张艳

【导师】 傅育熙; 赵建军;

【作者基本信息】 上海交通大学 , 计算机软件与理论, 2007, 硕士

【摘要】 面向方面编程AOP(Aspect-Oriented Programs)是一种全新的软件开发技术,它解决了在面向对象编程OOP(Object-Oriented Programming)中由横切关注点(crosscutting concern)所引起的代码分散(code scatter)和代码纠缠(code tangling)问题。迄今为止,对面向方面软件开发的研究都主要集中在需求分析、设计和实现上,而很少关注对它进行测试,尽管测试是软件开发过程中一个非常重要的环节,也是保证软件质量的重要手段。因为AOP程序引入了一些新的特性,如切入点(pointcut),通知(advice),类型间声明(intertype)等,使得对其进行测试具有一定的特殊性,所以用传统的一些测试方法来测试AOP程序是不合适的,急切需要提出新的测试方法。而单元测试是软件开发过程中进行的最基本的测试,能在开发过程中尽早发现错误,因此,在本篇论文中,主要研究针对AOP程序的单元测试。对AOP程序进行单元测试的理论研究和开发自动化测试工具都对AOP领域的研究具有极为重要的意义。在本文中,为AOP程序定义了三类单元测试模块,分别是Normal-method, Method-advice和Advice-method,并执行两个层次的

【Abstract】 Aspect-oriented programs (AOP) is a new technique of software development, which can used to solve code scatter and code tangling problems caused by crosscutting concerns that will occur in object-oriented programming. So far, the current research in aspect-oriented software development (AOSD) is focused on problem analysis, software design, and implementation techniques. Even though the importance of software testing is known, it has received little attention in the aspect-oriented paradigm.Aspect-oriented programs introduce some new characteristics; the traditional unit testing methods are not suitable to test them, so provide a new testing method is very urgently. Therefore, in this thesis, we mainly focus on unit testing to AOP. Both theory research and the development of automatic test tool are very important in the research area of AOP.In the thesis, we defined three kinds of unit testing modules, that is,

  • 【分类号】TP311.11
  • 【被引频次】10
  • 【下载频次】201
节点文献中: 

本文链接的文献网络图示:

本文的引文网络