test_script
The following is a list of properties for the function test_script
:
Property | Value |
---|---|
brief | Test an adaptive script |
category | compiler |
description | Compile and evaluate an adaptive script and compare the results to an expected value. Return object with the test's results. |
functionId | test_script |
functionLabel | test_script |
parameters | [ { "dataType": "string", "description": "Id of test", "name": "id" }, { "dataType": "string", "description": "Description of test", "name": "description" }, { "dataType": "string", "description": "Script to compile and evaluate.", "name": "script" }, { "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." } |