Microservice Testing Techniques
summary
Explains concrete testing choices: use mocks for fast unit feedback, use TestContainers to spin real databases inside tests, and use Hoverfly service virtualization to record/replay and inject network failures for legacy systems. Claims a practical tipping point of about 10 services where running everything locally breaks. Demonstrates Telepresence intercepting Kubernetes traffic so a remote cluster routes a service to a local debugger, the demo works and lets one debug, profile, and swap a single service while the rest stays remote.
AI-written summary · about
chapters (11)
- 0:00Microservice testing intro
- 1:03Testing categories and approaches
- 3:53Local dev challenges
- 9:54Mocks and service virtualization
- 16:10Service virtualization tools
- 20:29Test containers for local testing
- 24:03Remote to local dev tools
- 27:15Telepresence live demo
- 35:21Choosing testing tools
- 36:23Conclusion and key takeaways
- 38:12Q&A
related talks
27mTesting Cloud Apps: Mocks vs. Service Virtualization vs. Remocal Tools
47mAnother Way to Test Your Microservices
02h 36mTesting Java Microservice
49mDeveloping microservices applications on the Kubernetes platform
47mMicroservices Testing with Java
26mSimplify Your Dev Life with Testcontainers
34mChaos Debugging: Finding and Fixing Microservice Weak Points
35mMicroservice Testing
