A ~30-minute presentation about Testcontainers — real Docker containers in your tests — with a focus on how Quarkus Dev Services makes integration testing effortless.
Built with Slidev using a custom Sakura Night theme.
npm install
npm run devOpen localhost:3030 to view the presentation.
npm run exportGenerates slides-export.pdf. Requires Playwright Chromium.
| Path | Description |
|---|---|
slides.md |
All slides, speaker notes, and diagrams |
theme/ |
Custom Sakura Night theme (CSS, layouts) |
public/ |
Static assets (logos, QR code, landscape SVG) |
quarkus-demo/ |
Quarkus demo app with three test levels |
- What is Testcontainers? — Real services in Docker, throwaway containers
- Mocking vs Real Services — Where mocks fall short
- How It Works — Lifecycle, PostgreSQL & GenericContainer examples
- Quarkus + Testcontainers — Dev Services, Spring Boot comparison
- Live Demo — Two test levels against a Fruit CRUD API
- Best Practices — Tips for container reuse, wait strategies, getting started
The quarkus-demo/ folder contains a Quarkus Fruit CRUD API with:
- Level 1 — Unit Tests:
@InjectMockfor Kafka/REST client, real PostgreSQL via Dev Services - Level 2 — Integration Tests: Full stack with real PostgreSQL + Kafka, no mocks
See quarkus-demo/README.md for setup and run instructions.
- Node.js 18+ (for Slidev)
- Docker (for running the demo tests)
- Java 17+ & Maven (for the Quarkus demo)
MIT