@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.416Z") @Stability(value=Experimental) public interface IntegTestProps extends software.amazon.jsii.JsiiSerializable, 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() |
List<Stack> |
getTestCases()
(experimental) List of test cases that make up this test.
|
getAllowDestroy, getCdkCommandOptions, getDiffAssets, getHooks, getRegions, getStackUpdateWorkflow@Stability(value=Experimental) @NotNull List<Stack> getTestCases()
@Stability(value=Experimental) static IntegTestProps.Builder builder()
builder in interface TestOptionsIntegTestProps.Builder of IntegTestPropsCopyright © 2022. All rights reserved.