com.excilys.ebi.spring-dbunit:spring-dbunit-test

A Spring integration for the DBUnit framework

License

License

GroupId

GroupId

com.excilys.ebi.spring-dbunit
ArtifactId

ArtifactId

spring-dbunit-test
Last Version

Last Version

1.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

A Spring integration for the DBUnit framework

Download spring-dbunit-test

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.excilys.ebi.spring-dbunit : spring-dbunit-core jar 1.4.0
org.springframework : spring-test jar 4.0.7.RELEASE
junit : junit jar 4.11

test (8)

Group / Artifact Type Version
org.hsqldb : hsqldb jar 2.3.2
com.h2database : h2 jar 1.4.181
org.springframework : spring-orm jar 4.0.7.RELEASE
org.hibernate : hibernate-core jar 3.6.10.Final
org.javassist : javassist jar 3.18.2-GA
ch.qos.logback : logback-classic jar 1.1.2
com.googlecode » tomcat-slf4j jar 1.0.0
org.apache.tomcat : tomcat-jdbc jar 7.0.55

Project Modules

There are no modules declared in this project.

Build Status

Goal

Spring DBunit provides DBUnit add-ons for Spring Framework.

It allows you to easily insert and cleanup test data into the database of your choice.

Use cases examples :

  • "pseudo" unit tests on a DAO layer, with an in-memory database like HSQLDB or H2 and a schema automatically created with Hibernate hibernate.hbm2ddl.auto=create-drop.
  • GUI integration tests with Selenium, with a persistent database and an existing schema.
  • application prototype development, with data reloaded on application startup

Getting Spring DBUnit

Starting from 1.4.0, releases are in Maven Central, all you need to add to your POM is:

<dependency>
	<groupId>com.excilys.ebi.spring-dbunit</groupId>
	<!-- or spring-dbunit-servlet -->
	<artifactId>spring-dbunit-test</artifactId>
	<version>1.4.0</version>
</dependency>

For older versions of Spring DBUnit, read the Maven Wiki page.

Note that you need version 1.1.X of DBUnit if you use Spring 3.X

Documentation

Have a look at these Wiki pages for documentation :

Release Notes

See Github's Milestones

License

Spring DBUnit is released under the Apache Software License v2.0 (See LICENSE file)

com.excilys.ebi.spring-dbunit

Excilys

Versions

Version
1.4.0