interface AssertionResultData
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.AssertionResultData |
Java | software.amazon.awscdk.integtests.AssertionResultData |
Python | aws_cdk.integ_tests.AssertionResultData |
TypeScript (source) | @aws-cdk/integ-tests » 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 from '@aws-cdk/integ-tests';
const assertionResultData: integ_tests.AssertionResultData = {
status: integ_tests.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.