mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
776 B
776 B
Tests
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!
Other tests
You can find an overview of all of these by running ./espruino --help.
Run a supplied test
./espruino --test test.js
Run all Exhaustive Memory crash tests
./espruino --test-mem-all
Run the supplied Exhaustive Memory crash test
./espruino --test-mem test.js
Run the supplied Exhaustive Memory crash test with # vars
./espruino --test-mem-n test.js #