Fake it until you make it. API Integration Testing with testcontainers and WireMock - Fri, 19 Jul 2024

Fake it until you make it. API Integration Testing with testcontainers and WireMock - Fri, 19 Jul 2024

Activities

Information

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 Friday, 19 Jul 2024 - 16:20 - 16:50 Location: STAGE 10 Speaker: Oleg Šelajev

Log in