The Cure
The Pain
@gamussa | #current22 | @thekonginc
Slide 26
The Pain
The Cure
@gamussa | #current22 | @thekonginc
Slide 27
The Pain
The Cure
Port conflicts
@gamussa | #current22 | @thekonginc
Slide 28
The Pain
The Cure
Port conflicts
Port randomization
@gamussa | #current22 | @thekonginc
Slide 29
The Pain
The Cure
Port conflicts
Port randomization
Hard-coded scenarios
@gamussa | #current22 | @thekonginc
Slide 30
The Pain
The Cure
Port conflicts
Port randomization
Hard-coded scenarios
Data-driven tests
@gamussa | #current22 | @thekonginc
Slide 31
The Pain
The Cure
Port conflicts
Port randomization
Hard-coded scenarios
Data-driven tests
Slow test
@gamussa | #current22 | @thekonginc
Slide 32
The Pain
The Cure
Port conflicts
Port randomization
Hard-coded scenarios
Data-driven tests
Slow test
Parallelization
@gamussa | #current22 | @thekonginc
Slide 33
@gamussa | #current22 | @thekonginc
Slide 34
We think it’s a useful default option for creating a reliable environment for running tests. … Our teams have consistently found this library of programmable, lightweight and disposable containers to make functional tests more reliable. https://www.thoughtworks.com/en-us/radar/languages-and-frameworks/testcontainers
@gamussa | #current22 | @thekonginc
Slide 35
Slide 36
Slide 37
Slide 38
Slide 39
Slide 40
LET’S SEE SOME CODE!
@gamussa | #current22 | @thekonginc
Slide 41
What to do if you have no Docker? @gamussa | #current22 | @thekonginc
LET’S SEE SOME CODE!
@gamussa | #current22 | @thekonginc
Slide 45
How it’s started gAmUssA/testcontainers-java-module-con uent-platform
fl
@gamussa | #current22 | @thekonginc
Slide 46
How it’s going testcontainers-all-things-kafka/cp-testcontainers
@gamussa | #current22 | @thekonginc
Slide 47
How it’s going testcontainers-all-things-kafka/cp-testcontainers-examples
@gamussa | #current22 | @thekonginc
Slide 48
ONE MORE THING…
@gamussa | #current22 | @thekonginc
Slide 49
https://www.thoughtworks.com/en-us/radar/languages-and-frameworks/testcontainers
https://www.thoughtworks.com/radar/platforms/ka ka-api-without-ka ka f
f
@gamussa | #current22 | @thekonginc
Slide 50
@gamussa | #current22 | @thekonginc
Slide 51
DEVELOPMENT AND DEPLOYMENT WITH BORING SCRIPTS
@gamussa | #current22 | @thekonginc
Slide 52
DEVELOPMENT AND EXPLORE DEPLOYMENT THE WITH WORLD OF CONTAINERS BORING SCRIPTS
@gamussa | #current22 | @thekonginc
Slide 53
Slide 54
ONE MORE THING…
@gamussa | #current22 | @thekonginc
Slide 55
LOCAL DEVELOPMENT Dev Services https://quarkus.io/guides/dev-services
Test Resources https://micronaut-projects.github.io/micronaut-test-resources/latest/guide/
Autoservices https://github.com/spring-projects/spring-boot/issues/29461 @gamussa | #current22 | @thekonginc
Slide 56
AS ALWAYS, HAVE A NICE DAY… Viktor Gamov @ gAmUssA
@gamussa | #current22 | @thekonginc