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
- Java 11
- Maven
- Docker
Example showing how to use Testcontainers for integration testing with PostgreSQL
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
Example showing how to use Testcontainers for integration testing with PostgreSQL
Apache License 2.0