Interface IEqualsAssertionProps
(experimental) Options for an EqualsAssertion.
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public interface IEqualsAssertionProps
Syntax (vb)
Public Interface 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;
ActualResult actualResult;
ExpectedResult expectedResult;
var equalsAssertionProps = new EqualsAssertionProps {
Actual = actualResult,
Expected = expectedResult,
// the properties below are optional
FailDeployment = false
};
Synopsis
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. |
Properties
Actual
(experimental) The actual results to compare.
ActualResult Actual { get; }
Property Value
Remarks
Stability: Experimental
Expected
(experimental) The expected result to assert.
ExpectedResult Expected { get; }
Property Value
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.Nullable<System.Boolean>
Remarks
This is only necessary if assertions are being
executed outside of integ-runner
.
Default: false
Stability: Experimental