期刊文献+

一种基于内部类的断言框架研究与实现 被引量:1

A Study and Implementation of an Assertion Framework based on Inner Class
在线阅读 下载PDF
导出
摘要 嵌入式断言是软件测试中一个潜在的有效工具,并有许多优秀的规格语言被开发出来。但目前的规格语言并不完善,严重制约了应用推广。文章分析了这些问题,提出了一种结合单元测试工具xUnit的解决方案,并提供了实现方法,使程序员能够更为容易的实现断言测试,从而为其应用铺平了道路。 Embedded assertions is a potentially useful tool for automatic software testing, and several specification languages have been invented to apply this idea into practical applications;however it's not generally accepted due to some problems it has.This article analyses these problems, brings forward a solution combined with unit testing tools, and gives an implementation of this idea, which make it easier for programmers to write assertions.
出处 《微计算机信息》 2010年第8期82-83,79,共3页 Control & Automation
关键词 断言 测试 规格语言 JAVA Assertions software testing specification languages java
  • 相关文献

参考文献6

  • 1R.W.Floyd, "Assigning meanings to programs," [C] in Proc. Symp. Appl. Math., vol. XIX, American Mathematical Society, Apr. 1967, pp. 19-32.
  • 2Bertrand Meyer. Applying "design by contract". [J]Computer, October 1992, 25(10):40 - 51.
  • 3David R. Rosenblum. A practical approach to programming with assertions. [J] IEEE Transactions on Software Engineering, January 1995, 21(1):19 - 31.
  • 4Yoonsik Cheon and Gary T. Leavens. A Simple and Practical Approach to Unit Testing: The JML and JUnit Way. [C] ECOOP 2002, Proceedings. Volume 2374 of Lecture Notes in Computer Science, Springer Verlag, 2002:231-255.
  • 5Chandrasekhar Boyapati, Sarfraz Khurshid, and Darko Marinov. Korat: Automated Testing Based on Java Predicates.[C] In Proceedings International Symposium on Software Testing and Analysis (ISSTA), ACM, July 2002.pages 123-133.
  • 6黄若艺,毛澄映.基于依赖性分析的回归测试用例选择[J].微计算机信息,2005,21(11X):184-185. 被引量:9

二级参考文献2

  • 1Korel, B,, Tahat, L,H,, and Vaysburg, B. Dependence analysis in reduction of requirement based test suites, In: Proc, of the 2002 ACM SIGSOFI" international symposium on Software testing and analysis, 2002,pp.107-111.
  • 2Dssouli ,R. , Saleh, K,, and Aboulhamid ,E, Test development for communication protocols: towards automation. In: Computer Networks, Vol.31, 1999 pp, 1835-1872.

共引文献8

同被引文献9

  • 1浦云明.JAVA内部类分析与应用研究[J].计算机系统应用,2005,14(3):53-56. 被引量:4
  • 2胡伏湘,雷军环.Java程序设计实用教程[M].北京:清华大学出版社,2009.
  • 3[美] Bruce Eckel. Java编程思想(英文版,第4版) [M].侯捷译.北京:机械工业出版社,2009.
  • 4张亦辉,冯华,胡洁. Java面向对象程序设计[M].北 京:人民邮电出版社,2008.
  • 5吴金秀.浅析Java语言中的内部类和匿名类[J].电脑 知识与技术,2008,4(29) =400-401,415.
  • 6席国庆.深人体验Java项目开发[M].北京:清华大学出版社,2011.
  • 7[美] 霍斯特曼,[美] 科奈尔.Java核心技术卷II:高级 特性[M].陈昊鹏,王浩,姚建平译.北京:机械工业出 版社,2008.
  • 8张跃平.基于命令模式的Java AWT事件处理的改进设计与实现[J].微型电脑应用,2009(5):38-40. 被引量:2
  • 9尉哲明,郝建文.JAVA中利用内部类简化程序的编写[J].微机发展,2003,13(3):41-44. 被引量:4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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