Class IntegTest
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.integtests.alpha.IntegTest
- All Implemented Interfaces:
- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:51.051Z")
@Stability(Experimental)
public class IntegTest
extends software.constructs.Construct
(experimental) A collection of test cases.
 
Each test case file should contain exactly one instance of this class.
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 TypeClassDescriptionstatic final class(experimental) A fluent builder forIntegTest.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedIntegTest(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedIntegTest(software.amazon.jsii.JsiiObjectRef objRef) IntegTest(software.constructs.Construct scope, String id, IntegTestProps props) 
- 
Method SummaryModifier and TypeMethodDescription(experimental) Make assertions on resources in this test case.Methods inherited from class software.constructs.ConstructgetNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
IntegTestprotected IntegTest(software.amazon.jsii.JsiiObjectRef objRef) 
- 
IntegTestprotected IntegTest(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
IntegTest@Stability(Experimental) public IntegTest(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull IntegTestProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props- This parameter is required.
 
 
- 
- 
Method Details- 
getAssertions(experimental) Make assertions on resources in this test case.
 
-