dbUnit Extension

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.

License

License

GroupId

GroupId

org.dbunit
ArtifactId

ArtifactId

dbunit
Last Version

Last Version

2.7.3
Release Date

Release Date

Type

Type

jar
Description

Description

dbUnit Extension
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.
Project URL

Project URL

http://dbunit.sourceforge.net
Source Code Management

Source Code Management

http://sourceforge.net/p/dbunit/code.git/ci/master/tree/

Download dbunit

How to add to project

<!-- https://jarcasting.com/artifacts/org.dbunit/dbunit/ -->
<dependency>
    <groupId>org.dbunit</groupId>
    <artifactId>dbunit</artifactId>
    <version>2.7.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.dbunit/dbunit/
implementation 'org.dbunit:dbunit:2.7.3'
// https://jarcasting.com/artifacts/org.dbunit/dbunit/
implementation ("org.dbunit:dbunit:2.7.3")
'org.dbunit:dbunit:jar:2.7.3'
<dependency org="org.dbunit" name="dbunit" rev="2.7.3">
  <artifact name="dbunit" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.dbunit', module='dbunit', version='2.7.3')
)
libraryDependencies += "org.dbunit" % "dbunit" % "2.7.3"
[org.dbunit/dbunit "2.7.3"]

Dependencies

compile (6)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25
junit : junit Optional jar 4.12
ant : ant Optional jar 1.6.5
org.apache.poi : poi Optional jar 4.1.0
org.apache.poi : poi-ooxml Optional jar 4.1.0
org.postgresql : postgresql jar 42.3.1

test (12)

Group / Artifact Type Version
org.slf4j : jcl-over-slf4j jar 1.7.25
ch.qos.logback : logback-classic jar 1.2.3
org.hamcrest : hamcrest-library Optional jar 1.3
org.apache.ant : ant-testutil Optional jar 1.7.0
junit-addons : junit-addons jar 1.4
mockobjects : mockobjects-core jar 0.09
mockmaker : mmmockobjects jar 1.12.0
mockobjects : mockobjects-jdk1.3 jar 0.09
gsbase : gsbase jar 2.0.1
xerces : xmlParserAPIs jar 2.6.2
com.h2database : h2 jar 1.1.118
hsqldb : hsqldb jar 1.8.0.1

Project Modules

There are no modules declared in this project.

Versions

Version
2.7.3
2.7.2
2.7.1
2.7.0
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2