-
An example project can be found in the GitHub project theBenForce/cdk-integration-tests
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
ℹ️ Since all you need from the test runner is to know if the tests passed or failed, you won't need anything that advanced. The zora testing library looks like a good alternative if you want to try something different.
-
Next, create the handler lambda. The only complicated part of this is injecting the testEntry property into your source code. You're going to use [esbuild](https://esbuild.github.io/) to take care of that.
-
Install the cfn-lambda package in your project. It provides some helper methods to make creating the custom resource handler easier. Once it's installed, create a file called handlerLambda.ts inside of the IntegrationTests directory. Add the following code to the file to handle basic custom resource interactions.