This is an On-demand Lambda function invocation over HTTPS example project with testing on it.
AWS lambda stuff
- http://docs.aws.amazon.com/lambda/latest/dg/welcome.html
- https://medium.com/@AdamRNeary/developing-and-testing-amazon-lambda-functions-e590fac85df4
- http://mikestokes.co/aws/2015/03/12/easy-testing-of-amazon-lambda-micro-services/
- https://serverlesscode.com/post/emulambda-testing-aws-lambda/
Testing posts
- https://onsen.io/blog/mocha-chaijs-unit-test-coverage-es6/
- http://elijahmanor.com/unit-test-like-a-secret-agent-with-sinon-js/
- https://semaphoreci.com/community/tutorials/best-practices-for-spies-stubs-and-mocks-in-sinon-js
- http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs
Projects
Other examples
JS Testing