Class AssertionRequest
(experimental) A request to make an assertion that the actual value matches the expected.
Inheritance
Implements
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class AssertionRequest : Object, IAssertionRequest
Syntax (vb)
Public Class AssertionRequest
Inherits Object
Implements 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
Constructors
AssertionRequest() |
Properties
Actual | (experimental) The actual value received. |
Expected | (experimental) The expected value to assert. |
FailDeployment | (experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure. |
Constructors
AssertionRequest()
public AssertionRequest()
Properties
Actual
(experimental) The actual value received.
public object Actual { get; set; }
Property Value
System.Object
Remarks
Stability: Experimental
Expected
(experimental) The expected value to assert.
public object Expected { get; set; }
Property Value
System.Object
Remarks
Stability: Experimental
FailDeployment
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.
public Nullable<bool> FailDeployment { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
This is only necessary if assertions are being
executed outside of integ-runner
.
Default: false
Stability: Experimental