The simplest way to replace H2 with a real database for testing
This guide will explain how to replace H2 in-memory database with a real database for testing using Testcontainers in the simplest way.
Configuration of services running in a container
This guide will explain how to configure the services running in containers for your tests using Testcontainers.
Testcontainers container lifecycle management using JUnit 5
This guide will explain how to manage container lifecycle with Testcontainers using JUnit 5 lifecycle callbacks and JUnit 5 Extension annotations. We will also look into how to use Singleton Containers pattern to use same containers for multiple tests.
Getting started with Testcontainers in a Java Spring Boot Project
This guide will explain how to test Spring Boot and Spring Data JPA based REST APIs using Testcontainers.
Getting started with Testcontainers for Java
This guide will help you to get started with Testcontainers for Java by demonstrating how you can use PostgreSQL for testing.
What is Testcontainers, and why should you use it?
This guide will introduce you to Testcontainers and explains what kind of problems Testcontainers solves.
No search results