Skip to content
SPECIFICTION
Get listed

Database Rider

database-rider.github.io

Self-hosted

Spec sheet

Purpose
Database Rider brings DBUnit into JUnit tests to support database testing.Read 9 Oct 2026 · database-rider.github.io
Intended users
The project is aimed at developers who want to seed database state for JUnit tests.Read 9 Oct 2026 · database-rider.github.io
License
The project repository identifies its license as Apache-2.0.Read 9 Oct 2026 · github.com
Additional features
It includes dataset export and database connection leak detection.Read 9 Oct 2026 · database-rider.github.io
CDI integration
A CDI interceptor can read @DataSet to prepare the database in CDI tests.Read 5 Oct 2026 · database-rider.github.io
Configuration
Dataset and DBUnit configuration can be provided through annotations or YAML files.Read 9 Oct 2026 · database-rider.github.io
Connection checks
The listed features include database connection leak detection.Read 5 Oct 2026 · database-rider.github.io
Cucumber integration
The project includes a CDI-aware Cucumber runner for database-backed tests.Read 5 Oct 2026 · database-rider.github.io
Database support
The project lists support for multiple databases and uses a JDBC connection to create its DBUnit rule.Read 9 Oct 2026 · database-rider.github.io
Dataset features
Datasets support date and time values, Groovy and JavaScript scripts, and regular expressions in expected data.Read 9 Oct 2026 · database-rider.github.io
Dataset formats
It supports datasets in JSON, YAML, XML, XLS, CSV, and XLSX formats.Read 9 Oct 2026 · database-rider.github.io
Distribution
The documentation shows the core module added as a Maven dependency with test scope.Read 9 Oct 2026 · github.com
Expected data
Expected datasets can contain regular expressions.Read 5 Oct 2026 · database-rider.github.io
Export
The documentation describes exporting datasets, including to YAML, JSON, XML, XLS, and CSV.Read 5 Oct 2026 · database-rider.github.io
JDBC requirement
The JUnit 4 DBUnit rule requires a JDBC connection to be created.Read 5 Oct 2026 · database-rider.github.io
JUnit support
It provides JUnit 4 rules and a JUnit 5 extension for preparing database state from dataset annotations.Read 5 Oct 2026 · database-rider.github.io
Maintainer
The project site lists Rafael M. Pestano as maintainer.Read 5 Oct 2026 · database-rider.github.io
Scriptable datasets
Datasets can use Groovy and JavaScript scripts.Read 5 Oct 2026 · database-rider.github.io
Test frameworks
It provides integrations for JUnit 4, JUnit 5, CDI, and Cucumber tests.Read 9 Oct 2026 · database-rider.github.io

Where Specifiction places it

Alternatives to Database RiderAll alternatives →