Skip to content

arekRos/testcontainers-liquibase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot & MyBatis & Liquibase & Testcontainers

This is an example of Spring Boot application that uses:

  • MyBatis as a persistence framework.
  • Liquibase as a database change tracking tool.
  • Testcontainers for database integration tests.

Running Spring Boot Tests

./mvnw tests

Running Spring Boot App

Prerequisites

  • docker
  • docker-compose

Launching local PostgreSQL

docker-compose up -d

Launching application

./mvnw spring-boot:run

Stack