Skip to content
Discussion options

You must be logged in to vote

It really depends on how you'd like to design your integration testing.

In AWS CDK, we typically use @aws-cdk/integ-tests to compare the synth results with pre-generated snapshots as described here so when you run yarn integ it will first compare the pre-generated snapshots. If it doesn't match, yarn integ will deploy the stack and re-generate the snapshots for you if the deployment succeeds.

However, in some cases you probably would like to design a more complicated test case for your CloudFront distribution. For example, to provisioning a CloudFront distribution with S3 static website as its backend and eventually create a custom resource probe like the Pinger to perform HTTP GET agains…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@helbing
Comment options

Answer selected by helbing
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants