19bytes / spring-boot-testcontainers

Example showing how to use Testcontainers for integration testing with PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-testcontainers

This example shows how to integration test a Spring Boot repository against a running PostgreSQL database by using Testcontainers.

Simply run the test in an IDE of your choice or run mvn clean test

Prerequisites

  • Java 11
  • Maven
  • Docker

About

Example showing how to use Testcontainers for integration testing with PostgreSQL

License:Apache License 2.0


Languages

Language:Java 100.0%