🚨 AtomicJar is now part of Docker 🐋! Read the blog

Getting Started Guides

The following guides provide practical projects to learn Testcontainers by getting your hands dirty. Whether you’re looking to ramp up from zero to proficient, or are already an expert, there should be a guide for you.

Securing Spring Boot Microservice using Keycloak and Testcontainers

This guide will explain how to secure Spring Boot Microservices using Keycloak and Testcontainers.
  • Java
  • Spring Boot
  • Security
  • Keycloak

Getting started with Testcontainers for Python

This guide will help you to get started with Testcontainers for Python by demonstrating how you can use PostgreSQL for testing.
  • Python
  • PostgreSQL

Testing Micronaut Kafka Listener using Testcontainers

This guide will explain how to test Micronaut Kafka Listeners using Testcontainers.
  • Java
  • Micronaut
  • MySQL
  • Kafka

Testing REST API integrations in Micronaut applications using WireMock

This guide will explain how to test REST API integrations in a Micronaut application using Testcontainers WireMock module.
  • Java
  • Micronaut
  • REST API
  • WireMock

Simple local development with Testcontainers Desktop

In this guide, you will learn how to use Testcontainers Desktop for local development and explore various features that can help you to easily debug and resolve any issues.
  • Java
  • Spring Boot
  • PostgreSQL

Testing REST API integrations using WireMock

This guide will explain how to test REST API integrations in a Spring Boot application using Testcontainers WireMock module.
  • Java
  • Spring Boot
  • REST API
  • WireMock

Getting started with Testcontainers for Node.js

This guide will help you to get started with Testcontainers for Node.js by demonstrating how you can use PostgreSQL for testing.
  • Javascript
  • NodeJS
  • PostgreSQL

Working with jOOQ and Flyway using Testcontainers

This guide will explain how to test your jOOQ and Flyway based application by generating java code from database using Testcontainers.
  • Java
  • Spring Boot
  • jOOQ
  • PostgreSQL

Getting started with Testcontainers for Go

This guide will explain how to get started with Testcontainers for Go demonstrating how to use PostgreSQL database for testing.
  • Go
  • PostgreSQL

Development and Testing of Quarkus applications using Testcontainers

This guide will explain how to build and test Quarkus applications using Testcontainers.
  • Java
  • Quarkus
  • PostgreSQL
  • REST Assured

Testing AWS service integrations using LocalStack

This guide will explain how to test Spring Cloud AWS applications using LocalStack and Testcontainers.
  • Java
  • Spring Boot
  • LocalStack
  • AWS

Getting started with Testcontainers for .NET

This guide will help you to get started with Testcontainers for .NET by demonstrating how you can use PostgreSQL for testing.
  • C#
  • .NET
  • PostgreSQL

Testing REST API integrations using MockServer

This guide will explain how to test REST API integrations in a Spring Boot application using Testcontainers Mockserver module.
  • Java
  • Spring Boot
  • REST API
  • MockServer

Testing Spring Boot Kafka Listener using Testcontainers

This guide will explain how to test Spring Boot Kafka Listeners using Testcontainers.
  • Java
  • Spring Boot
  • MySQL
  • Kafka

Testing an ASP.NET Core web app

This guide is built on top of Microsoft's guide Integration tests in ASP.NET Core and how to leverage Testcontainers into it.
  • C#
  • ASP.NET
  • Microsoft SQL Server
  • Entity Framework

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.
  • Java
  • Spring Boot
  • PostgreSQL
  • H2

Configuration of services running in a container

This guide will explain how to configure the services running in containers for your tests using Testcontainers.
  • Java
  • PostgreSQL
  • LocalStack

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.
  • Java
  • PostgreSQL
  • JUnit
  • Spring Boot

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.
  • Java
  • Spring Boot
  • PostgreSQL
  • REST Assured

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.
  • Java
  • PostgreSQL

What is Testcontainers, and why should you use it?

This guide will introduce you to Testcontainers and explains what kind of problems Testcontainers solves.
  • Getting Started
No search results