test_expression
The following is a list of properties for the function test_expression
:
Property | Value |
---|---|
brief | Test expression |
category | compiler |
description | Compile and evaluate an adaptive expression and compare the results to an expected value. Return object with the test's results. |
functionId | test_expression |
functionLabel | test_expression |
parameters | [ { "dataType": "string", "description": "Id of test", "name": "id" }, { "dataType": "string", "description": "Description of test", "name": "description" }, { "dataType": "string", "description": "Expression to compile and evaluate.", "name": "expression" }, { "description": "Expected result.", "name": "expected" }, { "brief": "Additional untrusted qualified variables", "dataType": "object", "dataTypeParameter": "_AdaptiveHybridPropertiesObjects_", "description": "This parameter supplies additional qualified variables that can be accessed during evaluation. These variables will not be used by anything that needs to ensure its qualified variables must come from a trusted source, such as authorization. This parameter is intended to be used for testing only and should not be used for anything running in production.", "name": "additionalUntrustedQualifiedVariables", "optional": true } ] |
returns | { "dataType": "object", "description": "Test results." } |