@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:01.299Z") public interface IntegTestProps extends TestOptions
Example:
IFunction lambdaFunction; App app; Stack stack = new Stack(app, "cdk-integ-lambda-bundling"); IntegTest integ = IntegTest.Builder.create(app, "IntegTest") .testCases(List.of(stack)) .build(); IAwsApiCall invoke = integ.assertions.invokeFunction(LambdaInvokeFunctionProps.builder() .functionName(lambdaFunction.getFunctionName()) .build()); invoke.expect(ExpectedResult.objectLike(Map.of( "Payload", "200")));
Modifier and Type | Interface and Description |
---|---|
static class |
IntegTestProps.Builder
A builder for
IntegTestProps |
static class |
IntegTestProps.Jsii$Proxy
An implementation for
IntegTestProps |
Modifier and Type | Method and Description |
---|---|
static IntegTestProps.Builder |
builder() |
java.util.List<Stack> |
getTestCases()
(experimental) List of test cases that make up this test.
|
getAllowDestroy, getCdkCommandOptions, getDiffAssets, getHooks, getRegions, getStackUpdateWorkflow
java.util.List<Stack> getTestCases()
static IntegTestProps.Builder builder()
builder
in interface TestOptions
IntegTestProps.Builder
of IntegTestProps