Testcontainers with OpenAPI

API integration testing with a contract-driven mock server

Beppe Catanese
Geek Culture
Published in
7 min readJul 22, 2023

--

Testcontainers is an open-source multi-language framework that has revolutionised integration testing by leveraging containerisation.

The concept is simple yet powerful: developers define and spin up Docker containers directly from the test code. These containers serve as replicas of the dependencies utilised by the application, creating an effective environment for running integration tests.

--

--

Beppe Catanese
Geek Culture

Developer Relations @ Adyen. Here sharing new trends, dev tools and best practises about APIs.