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
Explore this link on the map →related reading
- Training Materialscontainer.training
- Integration Testing With Docker Composeblog.harrison.dev
- 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
- Learning Containers From The Bottom Upiximiuz.com
- Report: Docker Business Breakdown & Founding Story | Contrary Researchresearch.contrary.com
- A Docker Tutorial for Beginnersdocker-curriculum.com
- Simplifying Developer Testing Through SLATEuber.com
- GitHub - localstack/localstack: 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline · GitHubgithub.com
- Understanding Docker Networking - Earthly Blogearthly.dev
- Software Engineering at Googleabseil.io