The tests here are run automatically when you type:
./espruino --test-all
Each test sets the variable result
to true
for a pass, or false
for a failure.
You can find an overview of all of these by running ./espruino --help
.
./espruino --test test.js
./espruino --test-mem-all
./espruino --test-mem test.js
./espruino --test-mem-n test.js #