Adaptive Framework 0.9.0

test_script

The following is a list of properties for the function test_script:

PropertyValue
briefTest an adaptive script
categorycompiler
descriptionCompile and evaluate an adaptive script and compare the results to an expected value. Return object with the test's results.
functionIdtest_script
functionLabeltest_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." }