SlideShare a Scribd company logo
Spring Boot
Testcontainers
Iván López (@ilopmar)
● Iván López (@ilopmar)
● JVM developer
● Staff Software Engineer at VMware
● @MadridGUG coordinator
● Speaker: GeeCon, CommitConf, Devoxx,
RigaDevDays, Codemotion, Spring IO,...
🇪🇸🇮🇹🇬🇧🇦🇹🇨🇦🇧🇪🇨🇿🇺🇦🇩🇰🇸🇪🇺🇸🇷🇺🇪🇪🇱🇻🇭🇷🇵🇱🇹🇷🇷🇴🇧🇬
About me
@ilopmar
How do we test?
Unit tests
Integration
tests
E2E
Integration
Impl.
detail
Implemented
@ilopmar
Options
●
Shared instances
●
Install locally
●
In-memory implementations (H2,...)
@ilopmar
XXXXXXXXXXXXXX
@ilopmar
Testcontainer Java
●
Created ~9 years ago (Docker is ~11)
●
Original implementation in Java: Go, .NET,
Python, NodeJS, Rust, Haskell, Scala)
●
Uses Docker Java API
●
Runs in any Docker-compatible environment
●
Integration with framework/libraries: Spring,
JUnit, Spock...
@ilopmar
Modules
Talk is cheap,
show me the code
@ilopmar
Demo
@ilopmar
Demo
@ilopmar
Demo
@ilopmar
Demo
Thanks!
Questions?
@ilopmar
lopez.ivan@gmail.com
https:/
/github.com/ilopmar
Iván López
https://bit.ly/cern-sb-tc

More Related Content

PDF
Docker. Does it matter for Java developer ?
Izzet Mustafaiev
 
PPTX
Introduction to React Native
Waqqas Jabbar
 
PDF
Are app servers still fascinating
Antonio Goncalves
 
PPTX
Creating a reasonable project boilerplate
Stanislav Petrov
 
PPTX
Introduction to React Native
Waqqas Jabbar
 
PPTX
Introduction to react native @ TIC NUST
Waqqas Jabbar
 
PPT
Java EE Introduction
ejlp12
 
PDF
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Jérôme Petazzoni
 
Docker. Does it matter for Java developer ?
Izzet Mustafaiev
 
Introduction to React Native
Waqqas Jabbar
 
Are app servers still fascinating
Antonio Goncalves
 
Creating a reasonable project boilerplate
Stanislav Petrov
 
Introduction to React Native
Waqqas Jabbar
 
Introduction to react native @ TIC NUST
Waqqas Jabbar
 
Java EE Introduction
ejlp12
 
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Jérôme Petazzoni
 

Similar to Voxxed Days CERN 2024 - Spring Boot <3 Testcontainers.pdf (20)

PDF
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Iván López Martín
 
PDF
Eclipse demo camp 2016 Toronto
Gorkem Ercan
 
PDF
Better Integration Tests for Kafka Applications with Testcontainers with Oleg...
HostedbyConfluent
 
PPTX
Java Training In Ahmedabad
Riya Shah
 
PDF
From Heroku to Amazon AWS
Sebastian Schleicher
 
PDF
Gomobile: gophers in the land of Android
Jovica Popovic
 
PDF
Building a Pluggable, Cloud-native Event-driven Serverless Architecture - Rea...
Dan Farrelly
 
PDF
How to contribute textual tooling for apache camel in several id es
Aurélien Pupier
 
PDF
AllTheTalks 2020: Buildpacks - container for everyone!
Zander Mackie
 
PDF
Unit Rebooted – Real World Use Cases and Success Stories
NGINX, Inc.
 
PDF
Docker experience @inbotapp
Jilles van Gurp
 
PDF
Core Java Programming Language (JSE) : Chapter I - Getting Started
WebStackAcademy
 
PDF
1._Java_Fundamental.pptx.pdf
luxasuhi
 
PDF
GDG Izmir '16 Docker Workshop
Hakan Özler
 
PPTX
Instant developer onboarding with self contained repositories
Yshay Yaacobi
 
PDF
Adopting language server for apache camel feedback from a java/Eclipse plugi...
Aurélien Pupier
 
PDF
Scala on-android
lifecoder
 
PDF
Feedback from an eclipse plugin developer to provide support to large set of ...
Aurélien Pupier
 
PDF
eXoer on the grill: eXo Add-ons factory using Docker and Codenvy
eXo Platform
 
PDF
JS Class 2016
Yves-Emmanuel Jutard
 
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Iván López Martín
 
Eclipse demo camp 2016 Toronto
Gorkem Ercan
 
Better Integration Tests for Kafka Applications with Testcontainers with Oleg...
HostedbyConfluent
 
Java Training In Ahmedabad
Riya Shah
 
From Heroku to Amazon AWS
Sebastian Schleicher
 
Gomobile: gophers in the land of Android
Jovica Popovic
 
Building a Pluggable, Cloud-native Event-driven Serverless Architecture - Rea...
Dan Farrelly
 
How to contribute textual tooling for apache camel in several id es
Aurélien Pupier
 
AllTheTalks 2020: Buildpacks - container for everyone!
Zander Mackie
 
Unit Rebooted – Real World Use Cases and Success Stories
NGINX, Inc.
 
Docker experience @inbotapp
Jilles van Gurp
 
Core Java Programming Language (JSE) : Chapter I - Getting Started
WebStackAcademy
 
1._Java_Fundamental.pptx.pdf
luxasuhi
 
GDG Izmir '16 Docker Workshop
Hakan Özler
 
Instant developer onboarding with self contained repositories
Yshay Yaacobi
 
Adopting language server for apache camel feedback from a java/Eclipse plugi...
Aurélien Pupier
 
Scala on-android
lifecoder
 
Feedback from an eclipse plugin developer to provide support to large set of ...
Aurélien Pupier
 
eXoer on the grill: eXo Add-ons factory using Docker and Codenvy
eXo Platform
 
JS Class 2016
Yves-Emmanuel Jutard
 
Ad

More from Iván López Martín (20)

PDF
CommitConf 2025 - Spring AI: IA Avanzada para desarrolladores Spring
Iván López Martín
 
PDF
SalmorejoTech 2024 - Spring Boot <3 Testcontainers
Iván López Martín
 
PDF
CommitConf 2024 - Spring Boot <3 Testcontainers
Iván López Martín
 
PDF
VMware - Testcontainers y Spring Boot
Iván López Martín
 
PDF
Codemotion Madrid 2023 - Testcontainers y Spring Boot
Iván López Martín
 
PDF
CommitConf 2023 - Spring Framework 6 y Spring Boot 3
Iván López Martín
 
PDF
Construyendo un API REST con Spring Boot y GraalVM
Iván López Martín
 
PDF
jLove 2020 - Micronaut and graalvm: The power of AoT
Iván López Martín
 
PDF
Codemotion Madrid 2020 - Serverless con Micronaut
Iván López Martín
 
PDF
JConf Perú 2020 - ¡Micronaut en acción!
Iván López Martín
 
PDF
JConf Perú 2020 - Micronaut + GraalVM = <3
Iván López Martín
 
PDF
JConf México 2020 - Micronaut + GraalVM = <3
Iván López Martín
 
PDF
Developing Micronaut Applications With IntelliJ IDEA
Iván López Martín
 
PDF
CommitConf 2019 - Micronaut y GraalVm: La combinación perfecta
Iván López Martín
 
PDF
Codemotion Madrid 2019 - ¡GraalVM y Micronaut: compañeros perfectos!
Iván López Martín
 
PDF
Greach 2019 - Creating Micronaut Configurations
Iván López Martín
 
PDF
VoxxedDays Bucharest 2019 - Alexa, nice to meet you
Iván López Martín
 
PDF
JavaDay Lviv 2019 - Micronaut in action!
Iván López Martín
 
PDF
CrossDvlup Madrid 2019 - Alexa, encantado de conocerte
Iván López Martín
 
PDF
Madrid-GUG - ¡Micronaut en acción!
Iván López Martín
 
CommitConf 2025 - Spring AI: IA Avanzada para desarrolladores Spring
Iván López Martín
 
SalmorejoTech 2024 - Spring Boot <3 Testcontainers
Iván López Martín
 
CommitConf 2024 - Spring Boot <3 Testcontainers
Iván López Martín
 
VMware - Testcontainers y Spring Boot
Iván López Martín
 
Codemotion Madrid 2023 - Testcontainers y Spring Boot
Iván López Martín
 
CommitConf 2023 - Spring Framework 6 y Spring Boot 3
Iván López Martín
 
Construyendo un API REST con Spring Boot y GraalVM
Iván López Martín
 
jLove 2020 - Micronaut and graalvm: The power of AoT
Iván López Martín
 
Codemotion Madrid 2020 - Serverless con Micronaut
Iván López Martín
 
JConf Perú 2020 - ¡Micronaut en acción!
Iván López Martín
 
JConf Perú 2020 - Micronaut + GraalVM = <3
Iván López Martín
 
JConf México 2020 - Micronaut + GraalVM = <3
Iván López Martín
 
Developing Micronaut Applications With IntelliJ IDEA
Iván López Martín
 
CommitConf 2019 - Micronaut y GraalVm: La combinación perfecta
Iván López Martín
 
Codemotion Madrid 2019 - ¡GraalVM y Micronaut: compañeros perfectos!
Iván López Martín
 
Greach 2019 - Creating Micronaut Configurations
Iván López Martín
 
VoxxedDays Bucharest 2019 - Alexa, nice to meet you
Iván López Martín
 
JavaDay Lviv 2019 - Micronaut in action!
Iván López Martín
 
CrossDvlup Madrid 2019 - Alexa, encantado de conocerte
Iván López Martín
 
Madrid-GUG - ¡Micronaut en acción!
Iván López Martín
 
Ad

Recently uploaded (20)

PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Doc9.....................................
SofiaCollazos
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
The Future of Artificial Intelligence (AI)
Mukul
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 

Voxxed Days CERN 2024 - Spring Boot <3 Testcontainers.pdf