SDLC Testing Strategies for AWS CDK

This project was undertaken as part of my final project for CS527 Advanced Topics in Software Engineering.

In the realm of microservices, conventional testing approaches may not yield optimal results. Consequently, a novel method has emerged, introducing a fresh perspective on testing. This paradigm shift is exemplified by the utilization of a testing honeycomb, a methodology designed to enhance the testing process for applications such as AWS CDK at the local level. By leveraging local testing methods to replicate the AWS cloud environment on a local machine, we can conduct integration testing for service interactions before deploying to the live AWS environment. This proactive testing approach helps identify and rectify faulty stacks prior to deployment, resulting in cost savings, time efficiency, and a streamlined deployment process. In this project, I will explore LocalStack, an AWS cloud emulator that simulates AWS services locally by providing a robust environment that mimics the AWS ecosystem, allowing for comprehensive testing of CDK Constructs through end-to-end testing. By emulating various AWS services, LocalStack ensures that infrastructure and resources are accurately configured and set up without the necessity for actual AWS resources. This emulation extends to mirroring the functionalities and APIs of the AWS cloud, providing a powerful tool for thorough testing and validation.


Skills:
LocalStack Moto AWS CDK Python Pytest AWS Dynamodb AWS Transcribe AWS Lambda AWS API Gateway AWS Kinesis AWS S3
Logo