Class IntegTestCaseStack
(experimental) An integration test case stack. Allows the definition of test properties that should apply to this stack.
Implements
Inherited Members
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class IntegTestCaseStack : Stack, ITaggable
Syntax (vb)
Public Class IntegTestCaseStack
Inherits Stack
Implements ITaggable
Remarks
This should be used if there are multiple stacks in the integration test and it is necessary to specify different test case option for each. Otherwise normal stacks should be added to IntegTest
Stability: Experimental
ExampleMetadata: infused
Examples
App app;
Stack stackUnderTest;
var testCaseWithAssets = new IntegTestCaseStack(app, "TestCaseAssets", new IntegTestCaseStackProps {
DiffAssets = true
});
new IntegTest(app, "Integ", new IntegTestProps { TestCases = new [] { stackUnderTest, testCaseWithAssets } });
Synopsis
Constructors
IntegTestCaseStack(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
IntegTestCaseStack(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
IntegTestCaseStack(Construct, String, IIntegTestCaseStackProps) |
Properties
Assertions | (experimental) Make assertions on resources in this test case. |
Methods
IsIntegTestCaseStack(Object) | (experimental) Returns whether the construct is a IntegTestCaseStack. |
Constructors
IntegTestCaseStack(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected IntegTestCaseStack(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
IntegTestCaseStack(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected IntegTestCaseStack(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
IntegTestCaseStack(Construct, String, IIntegTestCaseStackProps)
public IntegTestCaseStack(Construct scope, string id, IIntegTestCaseStackProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IIntegTestCaseStackProps
Remarks
Stability: Experimental
Properties
Assertions
(experimental) Make assertions on resources in this test case.
public virtual IDeployAssert Assertions { get; }
Property Value
Remarks
Stability: Experimental
Methods
IsIntegTestCaseStack(Object)
(experimental) Returns whether the construct is a IntegTestCaseStack.
public static bool IsIntegTestCaseStack(object x)
Parameters
- x System.Object
Returns
System.Boolean
Remarks
Stability: Experimental