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.
Note: Tests which are known to fail are postfixed with _FAIL
. This doesn't
mean they are meant to fail, just that they test something we know is broken!
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 #