Overview
Explore Testcontainers from the ground up in this live-coding session. Learn to boot up simple database containers for integration testing, use Testcontainers as a replacement for docker-compose in local development, and understand its role in modern CI pipelines. Discover how to make the most out of Docker containers for reliable and reproducible database, integration, or UI tests. Follow along as the speaker covers introduction, setup requirements, practical work scenarios, common pitfalls, testing methodologies, container management, port configuration, logging, container reuse, manual usage, and networking aspects of Testcontainers.
Syllabus
Introduction
What you need
First day at work
The balance
The wrong way
The wrong port
How to know what port to connect on
Testing
What is it
Limits
Get logs
Stand it out
Port number
With exposed ports
Reusing containers
Using test containers manually
Reusing test containers
Networking
Taught by
IntelliJ IDEA by JetBrains