Skip to content

Test Mode

Pre-release
Pre-release
Compare
Choose a tag to compare
@Moderocky Moderocky released this 27 Jan 10:03
· 103 commits to master since this release

This draft contains a test phase that scripts can be run in.

During this phase, more debug information is available along with a test meta-effect.
The test effect allows behaviour to be added only in the test phase. When not in the test phase, behaviour will be skipped and side-effects will be quashed.

In the following example, the print-out would be 10 in regular run mode and 5 if run using the bsk test command.

set {var} to 10
test: set {var} to 5
print "the variable is " + {var}