DbUnit

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
第4行: 第4行:
  
 
http://dbunit.sourceforge.net/
 
http://dbunit.sourceforge.net/
 +
 +
[[Category:Software Development]]
 +
[[Category:Agile]]

2010年8月16日 (一) 04:24的版本

DbUnit is a JUnit extension (also usable with Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.

DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can works with very large dataset when use in streaming mode. DbUnit can also helps you to verify that your database data match expected set of values.

http://dbunit.sourceforge.net/

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱