Class EqualsAssertionProps
(experimental) Options for an EqualsAssertion.
Inheritance
System.Object
EqualsAssertionProps
Implements
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class EqualsAssertionProps : Object, IEqualsAssertionProps
Syntax (vb)
Public Class EqualsAssertionProps
Inherits Object
Implements IEqualsAssertionProps
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;
ActualResult actualResult;
ExpectedResult expectedResult;
var equalsAssertionProps = new EqualsAssertionProps {
Actual = actualResult,
Expected = expectedResult,
// the properties below are optional
FailDeployment = false
};
Synopsis
Constructors
EqualsAssertionProps() |
Properties
Actual | (experimental) The actual results to compare. |
Expected | (experimental) The expected result to assert. |
FailDeployment | (experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure. |
Constructors
EqualsAssertionProps()
public EqualsAssertionProps()
Properties
Actual
(experimental) The actual results to compare.
public ActualResult Actual { get; set; }
Property Value
Remarks
Stability: Experimental
Expected
(experimental) The expected result to assert.
public ExpectedResult Expected { get; set; }
Property Value
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