Getting Started
Testcontainers is a library that provides easy and lightweight APIs for bootstrapping local development and test dependencies with real services wrapped in Docker containers. Using Testcontainers, you can write tests that depend on the same services you use in production without mocks or in-memory services. Cloud-native infrastructure and microservices have taken control away from developers and made it painful to work locally. Let’s say you’re a developer working on “My Service”, within the following architecture: While you own only My Service and its datastore (in green), you have several downstream dependencies (in blue) that you need for local development and integration testing. This brings the following challenges: One way to sidestep these challenges is by relying on in-memory databases, embedded services, mocks, and other fake replicas of the production dependencies. However, these approaches bring their own problems (e.g. In-memory services may not have all the features of you
Getting Started Getting Started What is Testcontainers? Testcontainers is a library that provides easy and lightweight APIs for bootstrapping local development and test dependencies with real services wrapped in Docker containers. Using Testcontainers, you can write tests that depend on the same services you use in production without mocks or in-memory services. What problems does Testcontainers solve? Cloud-native infrastructure and microservices have taken control away from developers and made it painful to work locally. Let's say you're a developer working on "My Service", within the follow
related reading
- Training Materialscontainer.training
- Integration Testing With Docker Composeblog.harrison.dev
- GitHub - jackyzha0/docker-explained: 🐋 wtf is docker and why is everyone talking about itgithub.com
- Docker: Accelerated Container Application Developmentdocker.com
- How does Docker work? A Technical Deep Diving | Mediummedium.com
- What Are Containers? | IBMibm.com
- Testing robotics systems in fast-paced startups | Michael Jae-Yoon Chungmjyc.github.io
- Internals for Internsinternals-for-interns.com
- Learning Containers From The Bottom Upiximiuz.com
- Understanding Docker Networking - Earthly Blogearthly.dev
- Report: Docker Business Breakdown & Founding Story | Contrary Researchresearch.contrary.com
- A Docker Tutorial for Beginnersdocker-curriculum.com