2min chapter

DevOps and Docker Talk: Cloud Native Interviews and Tooling cover image

Testcontainers: Using Code to Control Docker for Testing

DevOps and Docker Talk: Cloud Native Interviews and Tooling

CHAPTER

How Docker Compose Saves Time and Money

You can use test containers with Docker compose. There is a module, but we recommend not to because of the alternative approaches We provide for writing your test. Instead of running everything in the container, you would continue running your test from your idea of choice or who's your tool like npm run test. Your test will run on the same machines and you can debug can you know, like put breakpoints and do whatever you want. But then everything that is needed to start your service, you can think of this external dependencies and you cannot start your service for test without them. These will be started with test containers. And what's I believe even more important is that they will also be terminated after

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode