期刊文献+

DbUnit在数据库测试中的应用

Application of DbUnit in Database Testing
下载PDF
导出
摘要 在实现测试驱动开发过程中,DbUnit工具是专门针对数据库测试的单元测试框架,它是对JUnit的一个扩展.DbUnit测试允许程序员在整个测试过程中自由地管理和控制数据库,将其置于一个可知的状态.在明确测试机制、搭建好测试环境的基础之上,围绕数据库备份、植入测试数据集进行单元测试、使数据库恢复到测试前状态等问题进行分析和探讨,以期建立一个良好的测试流程. In the process of realizing Test-Driven development,DbUnit tool is a kind of unit test framework especially for database testing which is an extension of JUnit.In the process of DbUnit testing,programmer can manage and control database freely,place it in a knowable state.The problems such as database backup,implanting data to test,database recovery are analyzed on the base of clearifying the test mechanism and building the test environment,so as to build a good test process.
作者 胡银保
出处 《兰州工业高等专科学校学报》 2012年第3期38-41,共4页 Journal of Lanzhou Higher Polytechnical College
关键词 DbUnit 数据库单元测试 管理和控制数据库 测试流程 DbUnit database unit testing management and control of database test process
  • 相关文献

参考文献4

二级参考文献8

共引文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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