Package io.github.cdklabs.projen.cdk
Class IntegrationTestBase
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.cdk.IntegrationTestBase
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
IntegrationTest,IntegrationTest
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.961Z") @Stability(Experimental) public abstract class IntegrationTestBase extends Component
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIntegrationTestBase(Project project, IntegrationTestBaseOptions options)protectedIntegrationTestBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedIntegrationTestBase(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskgetAssertTask()(experimental) Synthesizes the integration test and compares against a local copy (runs during build).TaskgetDeployTask()(experimental) Deploy the integration test and update the snapshot upon success.protected StringgetName()(experimental) Integration test name.protected StringgetSnapshotDir()(experimental) Snapshot output directory.TaskgetSnapshotTask()(experimental) Just update snapshot (without deployment).protected StringgetTmpDir()(experimental) Temporary directory for each integration test.-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, preSynthesize, synthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
IntegrationTestBase
protected IntegrationTestBase(software.amazon.jsii.JsiiObjectRef objRef)
-
IntegrationTestBase
protected IntegrationTestBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
IntegrationTestBase
@Stability(Experimental) protected IntegrationTestBase(@NotNull Project project, @NotNull IntegrationTestBaseOptions options)- Parameters:
project- This parameter is required.options- This parameter is required.
-
-
Method Detail
-
getAssertTask
@Stability(Experimental) @NotNull public Task getAssertTask()
(experimental) Synthesizes the integration test and compares against a local copy (runs during build).
-
getDeployTask
@Stability(Experimental) @NotNull public Task getDeployTask()
(experimental) Deploy the integration test and update the snapshot upon success.
-
getName
@Stability(Experimental) @NotNull protected String getName()
(experimental) Integration test name.
-
getSnapshotDir
@Stability(Experimental) @NotNull protected String getSnapshotDir()
(experimental) Snapshot output directory.
-
getSnapshotTask
@Stability(Experimental) @NotNull public Task getSnapshotTask()
(experimental) Just update snapshot (without deployment).
-
getTmpDir
@Stability(Experimental) @NotNull protected String getTmpDir()
(experimental) Temporary directory for each integration test.
-
-