MVN

org.dbunit : dbunit

Maven & Gradle

Feb 13, 2022
488 usages

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.

<dependency>
    <groupId>org.dbunit</groupId>
    <artifactId>dbunit</artifactId>
    <version>2.7.3</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.dbunit : dbunit to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.7.3

All Versions

Choose a version of org.dbunit : dbunit to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.7.x
dbunit-2.7.3
dbunit-2.7.2
dbunit-2.7.1
dbunit-2.7.0
2.6.x
dbunit-2.6.0
2.5.x
dbunit-2.5.4
dbunit-2.5.3
dbunit-2.5.2
dbunit-2.5.1
dbunit-2.5.0
2.4.x
dbunit-2.4.9
dbunit-2.4.8
dbunit-2.4.7
dbunit-2.4.6
dbunit-2.4.5
dbunit-2.4.4
dbunit-2.4.3
dbunit-2.4.2
dbunit-2.4.1
dbunit-2.4.0
2.3.x
dbunit-2.3.0
2.2.x
dbunit-2.2.3
dbunit-2.2.2
dbunit-2.2.1
2.2
dbunit-2.2

How to add a dependency to Maven

Add the following org.dbunit : dbunit maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.dbunit</groupId>
    <artifactId>dbunit</artifactId>
    <version>2.7.3</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.dbunit : dbunit gradle dependency to your build.gradle file:

implementation 'org.dbunit:dbunit:2.7.3'

Gradle Kotlin DSL: Add the following org.dbunit : dbunit gradle kotlin dependency to your build.gradle.kts file:

implementation("org.dbunit:dbunit:2.7.3")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.dbunit : dbunit sbt scala dependency to your build.sbt file:

libraryDependencies += "org.dbunit" % "dbunit" % "2.7.3"

Advertisement

Dependencies from Group

Feb 13, 2022
488 usages

Discover Dependencies

Jun 12, 2023
1.6k usages
10.4k stars
Oct 12, 2013
64 usages
182 stars
Jun 21, 2023
1.1k usages
Dec 20, 2022
40 usages
47 stars
Dec 15, 2022
218 usages
2.5k stars
May 20, 2023
843 usages
3.9k stars
Jun 01, 2023
570 usages
875 stars
Mar 08, 2016
26 usages
3.8k stars