Mock Web APIs with Testcontainers in Go
YouTube Viewers YouTube Viewers
1.95K subscribers
2,080 views
0

 Published On Apr 24, 2024

#golang #coding #testing #integration #api #tutorial

In this video I show you can spin up custom docker images using Testcontainers automatically in your integration tests, and I show how you can easily spin up a custom web API inside the container to integration your code.

This is a great way to make your integration tests do almost anything, you have the power of Docker at your fingertips and can mock most anything to test properly integrating with it.

Testcontainers is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a Docker container.

https://testcontainers.com/

show more

Share/Embed