期刊文献+

方面单元测试框架的设计与实现 被引量:1

Design and implementation of a unit testing framework for aspects
下载PDF
导出
摘要 缺乏成熟的方面测试和方面冲突检测技术是阻碍面向方面软件编程大规模应用的瓶颈性问题。针对方面单元测试,提出了无需与基模块编织的方面单元的独立测试框架AJUnit。该框架运用Java注释和源码与字节码映射等技术实现编译细节的透明化。基于控制流和数据流分析,AJUnit综合运用随机测试数据生成、相对测试充分性准则的优化和指定路径的测试数据生成等技术实现测试过程的自动化。文中也介绍了以AJUnit为基础的方面单元测试工具的设计和实现。 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),AJUnit automates the testing process by use of techniques of generating test cases randomly, supplemented by optimizing of test cases with respect to test adequacy criterion,and from certain paths as well.This paper also outlines design and implementation of a testing tool for aspect units based on AJUnit.
出处 《计算机工程与应用》 CSCD 北大核心 2009年第1期80-85,95,共7页 Computer Engineering and Applications
基金 国家自然科学基金 国家高技术研究发展计划(863)~~
关键词 面向方面软件 单元测试 方面 AJUnit测试框架 aspect-oriented software unit testing aspect AJUnit testing framework
  • 相关文献

参考文献31

  • 1JUnit4.0[EB/OL].[2008-05].http://www.junit.org.
  • 2周予滨.软件测试[M].北京:机械工业出版社,2007.
  • 3Aspect-oriented software development community & conference[EB/OL].[2008-05].http://www.aosd.net.
  • 4程利剑.AspectJ Cookbook中文版[M].北京:清华大学出版社,2006.
  • 5Alexander R T,Bieman J M,Andrews A A.Towards the systematic testing of aspect-oriented programs,Technical Report CS-4-105[R].Department of Computer Science,Colorado State University,Fort Collins,Colorado,2004.
  • 6Ceccato M,Tonella P,Ricca F.Is AOP code easier or harder to test than OOP code?[C]//On-line Proceedings of the First Workshop on Testing Aspect-Oriented Programs(WTAOP 2005).March,Chicago,Illinois,2005.
  • 7Zhao J.Data-flow-based unit testing of aspect-oriented programs[C]// Proe 27th Annual IEEE International Computer Software and Applications Conference (COMPSAC'2003),Dallas,Texas,December 2003:188-197.
  • 8Zhao J.Tool support for unit testing of aspect-oriented software[C]// OOPSLA'2002 Workshop on Tools for Aspect-Oriented Software Development,Seattle,WA,USA,November 2002.
  • 9Zhao Jianjun.Control-flow analysis and representation of aspectoriented programs[C]//Proc 6th Inernational Conference on Quality Software(QSIC'06),Beijing,China,October 26-28,2006:38-48.
  • 10Yamazaki Y,Sakurai K,Matsuura S,et al.A unit testing framework for aspects without weaving[C]//Proc 1st Workshop on Testing Aspect-Oriented Programs,March 2005.

二级参考文献13

  • 1DEERING S.Multicast routing in a datagram internetwork[D].Ph.D thesis,1991.
  • 2RADOSLAVOV PI,ESTRIN D,GOVIDAN R.Exploiting the bandwidth-memory tradeoff in multicast state aggregation[R].Computer Science Department,University of Southern California,1999.
  • 3THALER D,HANDLEY M.On the aggregatability of multicast forwarding state[A].Proceedings of IEEE INFOCOM[C].2000.26 -28.
  • 4BOIVIE R,FELDMAN N,IMAI Y,et al.Explicit multicast (Xcast)basic specification[DB/OL].http://www.ietf.org/internet-drafts/draft-coms-xcast-basic-spec-06.txt,2004.
  • 5GKANTSIDIS C,MIHAIL M,ZEGURA E.Spectral analysis of Internet topologies[A].Proceedings of the IEEE INFOCOM[C].2003.364-374.
  • 6SONG S,ZHANG ZL,CHOI BY,et al.Protocol independent multicast group aggregation scheme for the global area multicast[A].Proceedings of the IEEE Global Internet Symposium[C].2000.259 -266.
  • 7FEI A,CUI J-H,GERLA M,et al.Aggregated Multieast:an approach to reduce multicast state[A].Proceedings of Sixth Global Internet Symposium[C].2001.124-126.
  • 8FEI AG,CUI JH,GERLA M,et al.Aggregated multicast with inter-group tree sharing[A].Proceedings of NGC2001[C].2001.341-345.
  • 9CUI JH,KIM JY,MAGGIORINI D,et al.Aggregated multicast-A comparative study[A].Proceedings of IFIP Networking[C].2002.19 -24.
  • 10GAREY MR,JOHNSON DS.Computers and Intractability:A Guide to the Theory of NP-Completeness[M].SanFrancisco,W.H.Freem and Co,1979.

同被引文献6

  • 1林佳一,刘进,何克清.面向对象的契约式程序设计[J].计算机应用,2005,25(4):796-798. 被引量:3
  • 2Tessier F, Badri M, Badri L. A model-based detection of conflicts between crosscutting concerns; Towards a formal approach[C]. International Workshop on Aspect-Oriented Software Development. China: Beijing University, 2004.
  • 3Durr P, Bergmans L, Aksit M. Reasoning about semantic conflicts between aspects[C]. Brussels, Belgium: European Interactive Workshop on Aspects in Software, 2005.
  • 4Mussbacher G, Whittle J, Amyot D. Modeling and detecting semantic-based interactions in aspect-oriented scenarios [J]. Requirements Engineering, 2010, 15 (2): 197-214.
  • 5Chen X, Ye N, Ding W. A formal approach to analyzing interference problems in aspect oriented designs [C]. Shanghai, China:Third International Symposium, UTP, 2010.
  • 6顾海波,卢炎生.面向方面软件测试的研究进展[J].计算机科学,2008,35(9):266-269. 被引量:2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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