interface AssertionResultData
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.AssertionResultData |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#AssertionResultData |
Java | software.amazon.awscdk.integtests.alpha.AssertionResultData |
Python | aws_cdk.integ_tests_alpha.AssertionResultData |
TypeScript (source) | @aws-cdk/integ-tests-alpha » AssertionResultData |
The result of an assertion.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
const assertionResultData: integ_tests_alpha.AssertionResultData = {
status: integ_tests_alpha.Status.PASS,
// the properties below are optional
message: 'message',
};
Properties
Name | Type | Description |
---|---|---|
status | Status | The status of the assertion, i.e. pass or fail. |
message? | string | Any message returned with the assertion result typically this will be the diff if there is any. |
status
Type:
Status
The status of the assertion, i.e. pass or fail.
message?
Type:
string
(optional, default: none)
Any message returned with the assertion result typically this will be the diff if there is any.