> Markdown version of [/events/world-congress-2024/sessions/451-fake-it-until-you](https://www.wearedevelopers.com/events/world-congress-2024/sessions/451-fake-it-until-you). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Fake it until you `make it`. API Integration Testing with testcontainers and WireMock - **Date:** Friday, Jul 19, 2024 - **Time:** 16:20–16:50 (30 min) - **Room:** STAGE 10 (120) - **Event:** World Congress 2024 ## Description Testcontainers has become one of the most popular tools for software integration testing. If you can put your system-under-test into a container, Docker compose cluster or a pod, this is what you're likely to use. If your target isn't ready, not containerizable or just too heavy for testing as is, you can always use mock testing frameworks, e.g. WireMock or MockServer in the JVM ecosystem. Can you combine both approaches? Sure! In this talk, we will classify integration testing and discuss areas for WireMock and Testcontainers, and discuss which tool to choose for each use-case. And why not both? We will discuss putting WireMock into Testcontainers, and getting best from them thanks to the new WireMock modules for Testcontainers. Last but not least, we will see how to put WireMock in front of the Testcontainers or your real system to do deeper tests or even chaos engineering. P.S: We will focus on the Java, Golang or Python examples, but the same approaches can be used everywhere ## Speakers ### [Oleg Nenashev](https://www.wearedevelopers.com/@oleg-nenashev) Community Builder at WireMock, CNCF/CDF Ambassador, Jenkins maintainer ### [Oleg Šelajev](https://www.wearedevelopers.com/@oleg-selajev) Head of Developer Relations at AtomicJar ## Related talks at this congress - [Docker Best Practices](https://www.wearedevelopers.com/events/world-congress-2024/sessions/194-docker-best) — Ajeet Raina - [Test Intelligence for Developers](https://www.wearedevelopers.com/events/world-congress-2024/sessions/418-test-intelligence) — Elmar Jürgens - [Chaos in Containers - Unleashing Resilience](https://www.wearedevelopers.com/events/world-congress-2024/sessions/45-chaos-in-containers) — Maish Saidel-Keesing - [Test-reduction - Doing more with less](https://www.wearedevelopers.com/events/world-congress-2024/sessions/272-test-reduction-doing) — Ewald