Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Migrate to Atom-Grammar-Tests #254
Description of the Change
Introduce syntax tests to improve the test coverage. Anticipating changes for the tree-sitter migration (cc @maxbrunsfeld + @ambv), we'd benefit from having a more complete set of grammar tests to ensure compatibility. This begins developing those test fixtures.
This introduces a few syntax fixture files and fixes a bug with missing vararg and kwarg syntax highlighting.
atom-grammar-test is a test helper to allow you to provide code snippets and examples that you annotate with the desired syntax rules. It makes it much easier to validate the grammar rules and allows parties to provide examples of missing of errant syntax highlighting.
Dependency on another package? It's been used by several atom language grammars to date.
Sure, will move to another PR: https://github.com/kevinastone/language-python/tree/typing-improvements