airbnb / streamalert

StreamAlert is a serverless, realtime data analysis framework which empowers you to ingest, analyze, and alert on data from any environment, using datasources and alerting logic you define.
https://streamalert.io
Apache License 2.0
2.86k stars 333 forks source link

Discussion: Test Framework for AWS Lambda functions #294

Closed JJediny closed 7 years ago

JJediny commented 7 years ago

For discussion purpose only

Is it worth considering a local lambda testing framework like OpenFaaS for docker? https://github.com/alexellis/faas

I'm finding the constant test (works) -> upload (doesn't really work) workflow laborious

ghost commented 7 years ago

I'm finding the constant test (works) -> upload (doesn't really work) workflow laborious

Can you clarify this a bit? We want to ensure we understand what's working well, what isn't and why you think OpenFaaS will help. Thanks @JJediny !

JJediny commented 7 years ago

Yea it's more about the parity of a local dev environment to AWS lamdba - to make sure the function is triggered as intended before having to upload a new .zip alerting bundle and re-versioning it as part of the testing process... I think Atlassian localstack may be better suited for this so best to move the convo to #233