首页 | 官方网站   微博 | 高级检索  
     

方面单元测试框架的设计与实现
引用本文:陈凌鹤,毛晓光,雷晏,王承松.方面单元测试框架的设计与实现[J].计算机工程与应用,2009,45(1):80-85.
作者姓名:陈凌鹤  毛晓光  雷晏  王承松
作者单位:国防科学技术大学,计算机学院,长沙,410073
基金项目:国家自然科学基金,国家高技术研究发展计划(863计划) 
摘    要:缺乏成熟的方面测试和方面冲突检测技术是阻碍面向方面软件编程大规模应用的瓶颈性问题。针对方面单元测试,提出了无需与基模块编织的方面单元的独立测试框架AJUnit。该框架运用Java注释和源码与字节码映射等技术实现编译细节的透明化。基于控制流和数据流分析,AJUnit综合运用随机测试数据生成、相对测试充分性准则的优化和指定路径的测试数据生成等技术实现测试过程的自动化。文中也介绍了以AJUnit为基础的方面单元测试工具的设计和实现。

关 键 词:面向方面软件  单元测试  方面  AJUnit测试框架
收稿时间:2008-6-23
修稿时间:2008-10-6  

Design and implementation of a unit testing framework for aspects
CHEN Ling-he,MAO Xiao-guang,LEI Yan,WANG Cheng-song.Design and implementation of a unit testing framework for aspects[J].Computer Engineering and Applications,2009,45(1):80-85.
Authors:CHEN Ling-he  MAO Xiao-guang  LEI Yan  WANG Cheng-song
Affiliation:CHEN Ling-he,MAO Xiao-guang,LEI Yan,WANG Cheng-song School of Computer,National University of Defense Technology,Changsha 410073,China
Abstract:A bottleneck problem,preventing aspect-oriented programming from massive application,is lack of mature techniques for aspect testing and conflicts detecting.Aiming at testing of aspect units,this paper presents a testing framework AJUnit for independent aspects,without weaving with base modules.The framework makes compiled details transparent by taking techniques of Java annotation and mapping between source code and byte code.Based on analysis of CFGs (Control Flow Diagrams) and DFGs (Data Flow Diagrams),A...
Keywords:aspect-oriented software  unit testing  aspect  AJUnit testing framework
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号