Beyond the Unit: A Holistic Approach to Testing Serverless Architectures
summary
Shows concrete testing practices for serverless systems: consumer-driven contract testing with Pact and a Pact Broker to generate JSON contracts that producers validate before deploy, integration tests covering AWS Lambda + DynamoDB + SQS interactions, and chaos experiments using AWS Fault Injection Simulator to find resilience gaps. Reports that end-to-end tests largely disappear in serverless environments and that adopting Pact reduced production contract regressions by catching breaking changes pre-deploy.
AI-written summary · about
chapters (10)
- 0:00Black swans to serverless
- 2:55Unit to integration to end-to-end
- 7:15Microservice unit tests fail
- 10:47Consumer-driven contract testing
- 14:23Message-based microservice testing
- 17:56Testing pyramid in serverless
- 20:24Unit and integration in serverless
- 22:32Chaos engineering for serverless
- 26:54Key takeaways
- 28:40Q&A
related talks
53mHow Serverless Makes Integration TDD a Reality — And Why We Need It
27mBuilding & Running a Serverless Platform: Beyond Infrastructure
35mLearn how to test your serverless applications
50mAutomated Serverless Security Testing: Delivering secure apps continuously
59mUsing Pact to Deploy Microservice with Confidence
24mHow to test microservices and stay sane
51mTaking Serverless to the Next Level
47mContract-Based Testing for Microservices and UI
