AWS CDK Construct Testing Challenge
Version 1 of the AWS Cloud Development Kit (AWS CDK) is now in maintenance mode.
Refer to the AWS Cloud Development Kit (AWS CDK) v2 Learning Path for updated CDK v2 Labs and Challenges.
The AWS CDK incorporates the use of construct assertions with the popular Jest JavaScript testing framework to provide the same predictability and repeatability seen in application code development. The AWS CDK Assert library contains helpers for writing tests to evaluate the CloudFormation templates that are generated by the CDK project. These testing modules, paired with the practical testing capabilities provided by Jest, allow developers to implement various types of tests.
This hands-on IDE challenge assumes familiarity with performing the following actions within a TypeScript AWS CDK project:
- Writing CDK construct snapshot tests
- Writing CDK construct fine-grained assertion tests
- Writing CDK construct validation tests
If you are unfamiliar with any of the above, Cloud Academy recommends completing the courses and labs mentioned in the prerequisites before attempting this lab challenge.
This challenge will test your practical ability to work within a CDK project and utilize the built-in Jest framework tools to satisfy a set of requirements in a production-like AWS environment. You will receive a task and a set of requirements you must fulfill to pass the challenge.
This is a real environment, which means you can prove your knowledge in an applied way, substituting multiple choice questions for a dynamic performance-based exam situation.
- Snapshot Testing AWS CDK Constructs
- Evaluating CDK Constructs with Fine-Grained Assertions and Validation Tests
- Cloud Architects
- Software Engineers
- DevOps Engineers
- AWS Cloud Development Kit (CDK)
- TypeScript Programming
Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications.
Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.