jlelong / vscode-latex-basics

LaTeX grammars for Visual Studio Code
MIT License
19 stars 10 forks source link

Investigate a way of using vscode-tmgrammar-test for tests #32

Open tamuratak opened 2 years ago

tamuratak commented 2 years ago

It would be better to investigate a way of using vscode-tmgrammar-test for tests.

See the official document

For grammar authors

See vscode-tmgrammar-test that can help you write unit tests against your grammar.

jlelong commented 2 years ago

Thanks for the reference.

The current approach comes from https://github.com/microsoft/vscode/tree/main/extensions/vscode-colorize-tests/test and seems close to the snapshot test approach of vscode-tmgrammar-test. I will have a closer look to understand the difference.