Espruino/tests/README.md
2014-04-07 19:03:28 +01:00

616 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.

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 #