Description Usage Arguments Value
Converts a string to an AST and executes that script in a dummy environment for running test cases
against. Transforms all expressions of the form . = ottr::check(...)
by replacing the .
with
an index into a list in the environment with name check_results_{SECRET}
to collect the
test_suite_result objects generated from those checks. (This helps to handle variable name collisions
in tests when grading a script.)
1 | execute_script(script, secret, ignore_errors)
|
script |
The string to be executed |
secret |
The string to be appended to the name |
The global environment after executing the script
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.