Interface IIntegTestProps
(experimental) Integration test properties.
Inherited Members
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public interface IIntegTestProps : ITestOptions
Syntax (vb)
Public Interface IIntegTestProps
Inherits ITestOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
IFunction lambdaFunction;
App app;
var stack = new Stack(app, "cdk-integ-lambda-bundling");
var integ = new IntegTest(app, "IntegTest", new IntegTestProps {
TestCases = new [] { stack }
});
var invoke = integ.Assertions.InvokeFunction(new LambdaInvokeFunctionProps {
FunctionName = lambdaFunction.FunctionName
});
invoke.Expect(ExpectedResult.ObjectLike(new Dictionary<string, object> {
{ "Payload", "200" }
}));
Synopsis
Properties
TestCases | (experimental) List of test cases that make up this test. |
Properties
TestCases
(experimental) List of test cases that make up this test.
Stack[] TestCases { get; }
Property Value
Stack[]
Remarks
Stability: Experimental