Interface TestCase
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TestOptions
- All Known Implementing Classes:
TestCase.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.799Z") @Stability(Stable) public interface TestCase extends software.amazon.jsii.JsiiSerializable, TestOptions
Represents an integration test case.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTestCase.BuilderA builder forTestCasestatic classTestCase.Jsii$ProxyAn implementation forTestCase
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TestCase.Builderbuilder()default StringgetAssertionStack()The node id of the stack that contains assertions.default StringgetAssertionStackName()The name of the stack that contains assertions.List<String>getStacks()Stacks that should be tested as part of this test case The stackNames will be passed as args to the cdk commands so dependent stacks will be automatically deployed unlessexclusivelyis passed.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.TestOptions
getAllowDestroy, getCdkCommandOptions, getDiffAssets, getHooks, getRegions, getStackUpdateWorkflow
-
-
-
-
Method Detail
-
getStacks
@Stability(Stable) @NotNull List<String> getStacks()
Stacks that should be tested as part of this test case The stackNames will be passed as args to the cdk commands so dependent stacks will be automatically deployed unlessexclusivelyis passed.
-
getAssertionStack
@Stability(Stable) @Nullable default String getAssertionStack()
The node id of the stack that contains assertions.This is the value that can be used to deploy the stack with the CDK CLI
Default: - no assertion stack
-
getAssertionStackName
@Stability(Stable) @Nullable default String getAssertionStackName()
The name of the stack that contains assertions.Default: - no assertion stack
-
builder
@Stability(Stable) static TestCase.Builder builder()
- Returns:
- a
TestCase.BuilderofTestCase
-
-