by ben11kehoe · 10y ago · 0 comments
The really hard part is integration testing. You can Chaos-Monkey your Lambda functions, but you can't Chaos-Monkey DynamoDB. We're looking at ways of building tooling to do that.
For deployment, we wanted to use Serverless, but as they started to move away from CloudFormation, that didn't work for our more enterprise needs, so we've been rolling our own, based on ideas from Kappa.
Have you guys figure out a way to do offline testing of one Lambda calling another? I'd love to see it!
I bet you could achieve this effect by either temporarily decreasing provisioned throughput, or inserting clientside middleware that occasionally refuses to do a DynamoDB op.
But it means you have to write the middleware and have it be it's own source of bugs, which is still better than nothing, but another risk.