sidharthkuruvila / db-unit-testing

Adding unit testing and spring boot to a Jooq project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jooq and spring boot

Experiments on adding spring boot to a jooq project

Building and running the tests

Create a database in postgres called test_migration

$ psql
# create database test_migration

Generate the jooq source files

gradle generateSampleJooqSchemaSource

Run the db migrations

gradle update

Run the unit tests

gradle test

About

Adding unit testing and spring boot to a Jooq project


Languages

Language:Java 99.4%Language:Shell 0.6%