feat: add integ test and outline steps for setup #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hier sind die Slides zum Talk gestern:
https://speakerdeck.com/mrgrain/testing-with-the-aws-cdk
Und noch einige gute Integration-Tests Beispiele aus dem aws-cdk Repo:
Nice self-contained example
https://github.com/aws/aws-cdk/blob/5a0595edb1c5345552acbacefe2d09ec0bea31c1/packages/@aws-cdk/aws-autoscaling-hooktargets/test/integ.queue-hook.ts
Good assertions
https://github.com/aws/aws-cdk/blob/3528e3de5b5dd0a520624d4af73413370dcdc434/packages/@aws-cdk/aws-apigateway/test/integ.domain-name.ts
Setting up external dependencies
https://github.com/aws/aws-cdk/blob/cd19a0dbffe8b83670c0de1a4b4c186690f59dc2/packages/@aws-cdk/aws-iam/test/integ.imported-role.ts
Example how to call a StepFunction
https://github.com/aws/aws-cdk/blob/885760040aa09e17986281daba9b95bf4289252c/packages/@aws-cdk/aws-stepfunctions-tasks/test/aws-sdk/integ.call-aws-service-sfn.ts
Tips