Interface IntegTestProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable,- TestOptions
- All Known Implementing Classes:
- IntegTestProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:51.058Z")
@Stability(Experimental)
public interface IntegTestProps
extends software.amazon.jsii.JsiiSerializable, TestOptions
(experimental) Integration test properties.
 
Example:
 App app;
 Stack stack;
 IStateMachine sm;
 IntegTest testCase = IntegTest.Builder.create(app, "IntegTest")
         .testCases(List.of(stack))
         .build();
 // Start an execution
 IApiCall start = testCase.assertions.awsApiCall("StepFunctions", "startExecution", Map.of(
         "stateMachineArn", sm.getStateMachineArn()));
 // describe the results of the execution
 IApiCall describe = testCase.assertions.awsApiCall("StepFunctions", "describeExecution", Map.of(
         "executionArn", start.getAttString("executionArn")));
 // assert the results
 describe.expect(ExpectedResult.objectLike(Map.of(
         "status", "SUCCEEDED")));
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIntegTestPropsstatic final classAn implementation forIntegTestProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic IntegTestProps.Builderbuilder()default Stack(experimental) Specify a stack to use for assertions.default Boolean(experimental) Enable lookups for this test.(experimental) List of test cases that make up this test.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJsonMethods inherited from interface software.amazon.awscdk.cloud_assembly_schema.TestOptionsgetAllowDestroy, getCdkCommandOptions, getDiffAssets, getHooks, getRegions, getStackUpdateWorkflow
- 
Method Details- 
getTestCases(experimental) List of test cases that make up this test.
- 
getAssertionStack(experimental) Specify a stack to use for assertions.Default: - a stack is created for you 
- 
getEnableLookups(experimental) Enable lookups for this test.If lookups are enabled then stackUpdateWorkflowmust be set to false. Lookups should only be enabled when you are explicitly testing lookups.Default: false 
- 
builder- Returns:
- a IntegTestProps.BuilderofIntegTestProps
 
 
-