A journey to AWS Lambda integration testing with Python, Localstack, and Terraform
To start with unit testing for AWS Lambda, we can just choose a testing framework and start writing our beautiful unit tests. For testing AWS services we also can use some mock tools like moto. But what about integration testing? A solution may be to deploy with the Continuous Deployment tool and run some test code against real AWS services. But there are some problems: It takes more time to deploy every timeRunning test code against AWS takes more timeIncreases the AWS bills So...