期刊文献+

一种测试用例与测试代码分离的单元测试框架 被引量:1

An Unit Test Framework Based on Separation Between Case and Code
下载PDF
导出
摘要 软件必须通过测试才能确保其在应用环境中工作正常,自动化软件测试可以减少测试开销,同时增加在有限时间内的测试。在传统JUnit单元测试框架的基础上,提出一种基于测试代码复用的自动化测试框架,该框架利用XML脚本来描述和组织测试用例,有效的实现数据与代码分离,提高测试执行效率。最后给出新框架的实现方案。 The software won't be guaranteed to operate properly in the application environment unless it passes all related tests. Automatic testing significantly reduces the effort of individual tests, this implies that performing the same test becomes cheaper and more tests can be done within the limited time. Based on traditional JUnit framework, a new code-reuse technique based automatic testing framework is proposed. The test cases are described and organized using XML, the separation between code and data can be realized in his framework and the efficiency of test can be improved. The implementation scheme is given.
作者 杜军威
出处 《青岛科技大学学报(自然科学版)》 CAS 2008年第3期257-260,共4页 Journal of Qingdao University of Science and Technology:Natural Science Edition
关键词 自动化测试 测试用例 复用 XML software automation testing test case refactoring XML
  • 相关文献

参考文献3

  • 1Ivar Jaeoboson. Objeet-oriented software engineering: A use case driven approach[M].北京:人民邮电出版社,2003.
  • 2何完成 余秋惠.J Unit实现Java程序自动测试.计算机应用,2003,22(3):1-5.
  • 3张茂林.软件自动测试的研究与程序实现[J].北京航空航天大学学报,1997,23(1):74-80. 被引量:10

二级参考文献2

共引文献9

同被引文献6

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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