Tests ===== The tests here are run automatically when you type: ```sh ./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 ```sh ./espruino --test test.js ``` ### Run all Exhaustive Memory crash tests ```sh ./espruino --test-mem-all ``` ### Run the supplied Exhaustive Memory crash test ```sh ./espruino --test-mem test.js ``` ### Run the supplied Exhaustive Memory crash test with # vars ```sh ./espruino --test-mem-n test.js # ```