There is no test corpus. tree-sitter test reports zero coverage:
$ tree-sitter test
Warning: Test corpus not found at .../tree-sitter-gate/test/corpus
Total parses: 0; successful parses: 0; failed parses: 0; success percentage: N/A
The only test (bindings/node/binding_test.js) asserts that the grammar loads, not that it parses correctly:
Summary
There is no test corpus.
tree-sitter testreports zero coverage:The only test (
bindings/node/binding_test.js) asserts that the grammar loads, not that it parses correctly:There is no regression safety net, so grammar changes can silently break parsing.
Expected
test/corpus/with one file per feature: declarations, variables, functions, expressions, types, collections, comments, f-strings.examples/Plain.gate,examples/Weapon.gate,examples/all.gatesotree-sitter testgates parsing.bindings/node/binding_test.jsasserting expected node types/fields for representative snippets.Files
test/corpus/(new)bindings/node/binding_test.js