Mitch actually built Placebo alongside kappa, because he needed a way to test kappa. He even submitted a pull request against boto to make it support placebo. Sadly though, placebo is better for mocking the other AWS services, not so much a mesh of Lambda functions.
Have you guys figure out a way to do offline testing of one Lambda calling another? I'd love to see it!
Hey Ben, we're going to build completely on top of Cloudformation in the next version of Serverless. Currently starting to work on it. If you're interested would love to get your feedback: [email protected]
> you can't Chaos-Monkey DynamoDB
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.
The middleware would be best option. Put it between your code and the calls and then have it able to throw random errors.
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.
Re:AWS Lambda Is Not Ready for Prime Time
by bobbyi_settv on Monday May 23, 2016 @02:38PM
(#11755862)
Is Placebo better than moto? It sounds very similar.
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.
[0] https://github.com/garnaat/placebo