/spring-boot-testcontainers

Example showing how to use Testcontainers for integration testing with PostgreSQL

Primary LanguageJavaApache License 2.0Apache-2.0

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