期刊文献+

基于AOP的软构件测试技术研究与应用

Research and Application of Software Component Testing Based on AOP
下载PDF
导出
摘要 阐述了AOP技术的产生背景和实现原理,同时以AspectJ语言为例研究了AOP技术中比较关键的几个概念,提出了利用AOP技术辅助构件测试的思想:在JUnit框架的基础上,利用AOP技术对构件的接口编程,根据接口信息将测试方法织入到测试构件和待测构件中,实现对测试过程的监视和控制,并以此为基础设计了基于AOP技术的软构件集成测试框架. Firstly, this paper introduces AOP's background and implementation principle. Secondly, we study some key concepts based on AspectJ such as joinpoint, pointcut, advice and aspect. In this paper, we put forward a new testing approach using AOP technology to assist the component testing and design an integration testing framework of software component based on AOP.
作者 文斌
出处 《湖北民族学院学报(自然科学版)》 CAS 2007年第3期308-313,共6页 Journal of Hubei Minzu University(Natural Science Edition)
基金 国家自然科学基金项目资助(60233020 60503032)
关键词 方面 面向方面编程 软构件 软件测试 aspect AOP( Aspect- Oriented Programming) software component software testing
  • 相关文献

参考文献17

  • 1Ramnivas laddad.AspectJ In Action[M].Greenwich:Manning Publication Co,2003.
  • 2Gregor kiczales,John lamping,Anurag mendhekar,et al.Aspect-Oriented Programming[C].// Proceeding of the European Conference on Object-Oriented Programming (ECOOP),Finland,Springer-Verlag LNCS 1241,June 1997.
  • 3Andy Clement.Aspect J:crosscutting objects for better modularity[EB/OL].http://eclipse.org/aspectj/.(2006-04-12)2006-12-10.
  • 4Kiczales,Gregor,Erik hilsdale,et al.An Overview of AspectJ[C].In Proceedings of the 15th European Conference on Object-Oriented Programming,Springer-Verlag,2001:327-353.
  • 5Janos Bonr,Alexandre Vasseur,ApsectWerkz-Plain,JavaAOP[EB/OL].http://aspectwerkz.codehaus.org.(2005-03-02)/2006-12-10.
  • 6Kabir Khan.JBoss AOP[EB/OL].http://www.jboss.com/products/aop.(2005-10-01)2006-12-09.
  • 7Costin Leau.Spring AOP[EB/OL].http://www.springframework.org.(2006-06-12)2006-12-09.
  • 8Kurt Leucht,Erik Meade.JUnit[EB/OL].http://www.junit.org.(2006-08-03)2006-12-10.
  • 9Bai X,Peng LC,LI H.An Approach to Generate Thin Threads from UML Diagrams[R].Software Engineering Research Group,School of Computer and Information Science,Edit Cowan University,2002.
  • 10Johannes Ryser,Martin Glinz.A Scenario-Based Approach to Validating and Testing Software Systems Using Statechart[EB/OL].http://www.ifi.unizh.ch/req/ftp/papers/ICSSEA_SCENT_Method.pdf.(2000-05-15)2006-11-11.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部