Serverless Testing - Local Considered Harmful?
summary
Argues that testing pyramid is a service anti-pattern for serverless, that trying to emulate AWS locally is brittle and costly — LocalStack fails in reality — and that better results come from running real cloud resources in CI and dev (stand up Terraform once per day with an env escape hatch, ephemeral stacks in CI under ~10 minutes). Recommends capturing real AWS responses with Placebo instead of fragile emulators, using X‑Ray/CloudWatch/Honeycomb and SLOs to detect and diagnose production issues, and treating debug logs and observability as the primary debugging tools.
AI-written summary · about
