Home > intention-kernel/testing > EvaluationAssertionResult
EvaluationAssertionResult interface
Evidence and outcome of a single assertion.
Signature:
export interface EvaluationAssertionResultProperties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Readonly<{ present: boolean; value?: EvaluationValue; }> | (Optional) Own-property presence distinguishes a missing value from explicit null. | |
| readonly EvaluationAssertionResult[] | (Optional) Composite results, retained even if a sibling passed. | |
| string | (Optional) Stable evaluator error; raw exception messages are never captured. | |
| (Optional) Host evaluator explanation or evidence, already safe for the report audience. | ||
| (Optional) Expected value, when applicable. | ||
| string | Definition identity. | |
| string | (Optional) Optional readable assertion label. | |
| boolean | False for both assertion failure and evaluator error; inspect errorCode to distinguish. |