Chapter 13. Improving development and testing
- Weighing the pros and cons of local development of Lambda functions
- Logging and debugging your code
- Using Lambda function versions and aliases
- Presenting an overview of the most popular tools and framework for building serverless apps
- Implementing a serverless testing framework for Lambda functions
In the previous chapter, you focused on the advantages and pitfalls of event-driven applications and distributed architectures, with a more theoretic approach than the previous chapters.
Now you return to hands-on experience to see how development and testing can be improved using more advanced AWS Lambda features, such as versioning and aliases, and specific tools and frameworks designed to support serverless development and testing.
A common question people ask when I introduce AWS Lambda is how to develop with a local environment. It’s easy to wrap a Lambda function with a few lines of code to allow local execution. If you use other AWS services in those functions, you may find tools that can emulate them locally. For example: