Mention wasm tests in contributing doc

This commit is contained in:
Max Brunsfeld 2019-05-31 09:18:30 -07:00
parent 94b72956ea
commit 85fa31d972

View file

@ -5,6 +5,8 @@ permalink: contributing
# Contributing
## Code of Conduct
## Developing Tree-sitter
### Prerequisites
@ -65,6 +67,13 @@ Then you can run the tests:
script/test
```
Similarly, to test the WASM binding, you need to compile these parsers to WASM:
```sh
script/generate-fixtures-wasm
script/test-wasm
```
### Debugging
The test script has a number of useful flags. You can list them all by running `script/test -h`. Here are some of the main flags: