d

dbunit

dbUnit is a JUnit extension (also usable from Ant and Maven) 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.
http://dbunit.sourceforge.net
GNU Lesser General Public License, Version 2.1
Matthias Gommeringer John Hurst Jeff Jensen Roberto Lo Giacco Felipe Leme David Eric Pugh Sebastien Le Callonnec Manuel Laflamme Benjamin Cox Federico Spinazzi Timothy J. Ruppert
文件下载
文件名 操作
dbunit-2.5.1.jar 下载
dbunit-2.5.1.pom 下载
dbunit-2.5.1-sources.jar 下载
Apache Maven
<dependency>
  <groupId>org.dbunit</groupId>
  <artifactId>dbunit</artifactId>
  <version>2.5.1</version>
</dependency>
Gradle Groovy
implementation 'org.dbunit:dbunit:2.5.1'
Gradle Kotlin
implementation("org.dbunit:dbunit:2.5.1")
Scala SBT
libraryDependencies += "org.dbunit" % "dbunit" % "2.5.1"
Groovy Grape
@Grapes(
  @Grab(group='org.dbunit', module='dbunit', version='2.5.1')
)
Apache Ivy
<dependency org="org.dbunit" name="dbunit" rev="2.5.1" />
Leiningen
[org.dbunit/dbunit "2.5.1"]
Apache Buildr
'org.dbunit:dbunit:jar:2.5.1'