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.
    • 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 unless exclusively is 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