Interface IAssertionRequest
(experimental) A request to make an assertion that the actual value matches the expected.
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public interface IAssertionRequest
Syntax (vb)
Public Interface IAssertionRequest
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests.Alpha;
var actual;
var expected;
var assertionRequest = new AssertionRequest {
Actual = actual,
Expected = expected,
// the properties below are optional
FailDeployment = false
};
Synopsis
Properties
Actual | (experimental) The actual value received. |
Expected | (experimental) The expected value to assert. |
Fail |
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure. |
Properties
Actual
(experimental) The actual value received.
object Actual { get; }
Property Value
System.
Remarks
Stability: Experimental
Expected
(experimental) The expected value to assert.
object Expected { get; }
Property Value
System.
Remarks
Stability: Experimental
FailDeployment
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.
virtual Nullable<bool> FailDeployment { get; }
Property Value
System.
Remarks
This is only necessary if assertions are being
executed outside of integ-runner
.
Default: false
Stability: Experimental