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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner