Cypher grammar for tree-sitter.
Create test.cql
file if you want to run test locally against single file using test:dev
npm script:
echo "// Comment" > test.cql
Install the dependencies:
npm install
Build parser
npm run build
Run the tests:
npm run test
Run the build and tests in watch mode:
npm run test:watch
Test parser in debug mode against test.cql
file:
npm run test:dev
Update openCypher repository, generate tests, and run tests with "-u" flag:
npm run test:regenerate