MVN

nl.42 : database-truncator

Maven & Gradle

Feb 21, 2023
2 usages
5 stars

Database Truncator · Logic for emptying database tables of their content without affecting the structure. Useful for unit tests

<dependency>
    <groupId>nl.42</groupId>
    <artifactId>database-truncator</artifactId>
    <version>3.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of nl.42 : database-truncator to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.0.0

All Versions

Choose a version of nl.42 : database-truncator to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.0.x
database-truncator-3.0.0
2.0.x
database-truncator-2.0.0
1.0.x
database-truncator-1.0.1
database-truncator-1.0.0
0.5.x
database-truncator-0.5.1.SPRING5
database-truncator-0.5.1
database-truncator-0.5.0
0.4.x
database-truncator-0.4.0
0.3.x
database-truncator-0.3.2
database-truncator-0.3.1
database-truncator-0.3.0
0.2.x
database-truncator-0.2.0
0.1.x
database-truncator-0.1.0

How to add a dependency to Maven

Add the following nl.42 : database-truncator maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>nl.42</groupId>
    <artifactId>database-truncator</artifactId>
    <version>3.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following nl.42 : database-truncator gradle dependency to your build.gradle file:

implementation 'nl.42:database-truncator:3.0.0'

Gradle Kotlin DSL: Add the following nl.42 : database-truncator gradle kotlin dependency to your build.gradle.kts file:

implementation("nl.42:database-truncator:3.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following nl.42 : database-truncator sbt scala dependency to your build.sbt file:

libraryDependencies += "nl.42" % "database-truncator" % "3.0.0"

Advertisement

Dependencies from Group

Apr 19, 2019
4 usages
4 stars
Feb 21, 2023
2 usages
5 stars
Apr 19, 2019
2 usages
4 stars
Apr 19, 2019
2 usages
4 stars
Apr 18, 2023
1 usages
4 stars

Discover Dependencies