Session
Mocks as Code. Modeling AWS service providers with Testcontainers, WireMock and Localstack
When managing services at scale, it is often required to automate testing while mocking (or modeling) the parts provided by public clouds, and we might also want to test the whole deployment process.
For AWS integration testing, we use Localstack. For common software, we can use Testcontainers, a popular framework for Docker and other container engines. Can we use the same for testing configurations in environments? Yes! Can we go further and mock services that cannot be replicated in Testcontainers or do not even exist yet? Also yes, there are WireMock and WireMock extensions for AWS. And yes, we can put everything in a Dev Container on your local machine!
In this talk, I will focus on using Localstack, WireMock, and Testcontainers together when building and configuring your services. We will use Pulumi as a configuration management tool and Java/Gradle as an implementation, but the same approaches apply to other config management tools.

Oleg Nenashev
Lead Developer Advocate, Gradle
Neuchâtel, Switzerland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top