Tests
Writing tests
test blocks can go anywhere (but not nested inside of something else).
Running tests
When running or building a program normally, tests are ignored.
The following commands run tests:
keen test foo.keenruns all tests in a file.keen test foo.keen --line 123runs the test at a specific line number.keen test dir-nameruns all tests in all files in a directory and subdirectories.keen test foo.keen bar.keen dir1 dir2runs all tests in selected files and directories.
Test modifiers
Tests can be marked global or unsafe if necessary.
A java or js test will only run on that target.
keen test foo.keen won't run js tests,
and keen test foo.keen --node-js won't run java tests.