期刊文献+

自动化单元测试框架EasyMock分析及其应用 被引量:2

ON ANALYSIS AND ITS APPLICATION OF THE AUTOMATIC UNIT TEST FRAMEWORK EASYMOCK
下载PDF
导出
摘要 Easy Mock是一个可以和JUnit很好的集成在一起的Mock框架,它通过构建Mock对象可以减少开发代码与测试代码的耦合,快速有效的完成单元测试、分布式系统测试。在介绍Easy Mock特点、测试框架及其应用的基础上,分析了该框架的优缺点,并针对其缺点提出了相应的解决方案。测试结果表明,注入解决方案后的Easy Mock框架可以降低Mock对象的限制,应用范围更广。 EasyMock is the Mock framework that can integrate with Junit very well. It can reduce the coupling of developing codes and testing codes by constructing the mock object and complete the unit test and the distributed system test rapidly and efficiently. On the basis of introducing the characteristics, the testing framework and the application of EasyMock, the paper makes analysis of its advantages and disadvantages and suggests some corresponding solutionsd. The testing results indicate the framework with the solutions can reduce the constraints of the mock object and can be applied more widely.
出处 《巢湖学院学报》 2014年第6期34-38,共5页 Journal of Chaohu University
基金 巢湖学院教研项目(项目编号:Jyxm201104) 安徽省教育厅基金(项目编号:KJ2010B125) 巢湖学院本科教学质量与教学改革工程资助项目(项目编号:ch13yykc06)
关键词 EasyMock框架 测试驱动开发 JUnit框架 单元测试 PowerMock框架 EasyMock framework test-driven development JUnit framework unit test PowerMock framework
  • 相关文献

参考文献8

  • 1Erickson J,Lyytinen K,Siau K.Agile Modeling, Agile Software Development, and Extreme Programming:The State of Research [J].Journal of Database Management,2005, (4):88-100. 被引量:1
  • 2Mordinyi R, Kuhn E, Schatten A,Towards an Architectural Framework for Agile Software Devel0pment[C]//International Con- ference and Workshops on Engineering of Computer Based Systems.American,2010:276-280. 被引量:1
  • 3Mackinnon T, Freeman S, Craig P. Endo-Testing: Unit Testing with Mock Objects[C]//Proceeding of the eXtreme Program- ming and Flexible .Italy,2000:21-23. 被引量:1
  • 4Jafadeesh Nandigam, Tao Yonglei.Using mock object frameworks to teach object-oriented design principles[J].Journal of Com- puting Sciences in Colleges,2010, ( 1 ):40-48. 被引量:1
  • 5Tammo, Freese.EasyMock:Dynamic Mock Objects for Junit[C]//Proceedings of the 3rd International Conference on Extreme Programming and Agile Processes in Software Engineering.Italy, 2002:1-5. 被引量:1
  • 6PetarTahchiev,FelipeLeme,VincentMassol,eta1.Junit实战[M].王魁,译.北京:人民邮电出版社,2012:96-129. 被引量:1
  • 7EasyMock 官方网站[EB/OL].(2013-7-11)[2014-1-29]http://www.easymock.org/. 被引量:1
  • 8PowerMock 官方网站.[EB/OL]. (2013-11-19) [2014-1-29]http://www.Powermock.org/. 被引量:1

同被引文献10

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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